Commit 717a7673 by Marek Polacek Committed by Marek Polacek

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
parent ca8f2cb1
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) ...@@ -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:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment