mirror of git://gcc.gnu.org/git/gcc.git
re PR c/7652 (-Wswitch-break : Warn if a switch case falls through)
PR c/7652 * jcf-dump.c (print_constant): Add break. From-SVN: r238824
This commit is contained in:
parent
ca8f2cb137
commit
717a767378
|
|
@ -1,3 +1,8 @@
|
||||||
|
2016-07-28 Marek Polacek <polacek@redhat.com>
|
||||||
|
|
||||||
|
PR c/7652
|
||||||
|
* jcf-dump.c (print_constant): Add break.
|
||||||
|
|
||||||
2016-07-21 Richard Biener <rguenther@suse.de>
|
2016-07-21 Richard Biener <rguenther@suse.de>
|
||||||
|
|
||||||
* jcf-parse.c (java_emit_static_constructor): Set
|
* jcf-parse.c (java_emit_static_constructor): Set
|
||||||
|
|
|
||||||
|
|
@ -926,6 +926,7 @@ print_constant (FILE *out, JCF *jcf, int index, int verbosity)
|
||||||
if (verbosity > 0)
|
if (verbosity > 0)
|
||||||
fprintf (out, "Fieldref: %ld=", (long) JPOOL_USHORT2 (jcf, index));
|
fprintf (out, "Fieldref: %ld=", (long) JPOOL_USHORT2 (jcf, index));
|
||||||
print_constant (out, jcf, JPOOL_USHORT2 (jcf, index), 0);
|
print_constant (out, jcf, JPOOL_USHORT2 (jcf, index), 0);
|
||||||
|
break;
|
||||||
case 5:
|
case 5:
|
||||||
case 6:
|
case 6:
|
||||||
case 7:
|
case 7:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue