From: Marek Polacek Date: Thu, 28 Jul 2016 15:46:07 +0000 (+0000) Subject: re PR c/7652 (-Wswitch-break : Warn if a switch case falls through) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=717a7673782bff840ea538efd9fb1e2e8d2b816a;p=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 --- diff --git a/gcc/java/ChangeLog b/gcc/java/ChangeLog index 874466a7f0a..af1b136d96e 100644 --- a/gcc/java/ChangeLog +++ b/gcc/java/ChangeLog @@ -1,3 +1,8 @@ +2016-07-28 Marek Polacek + + PR c/7652 + * jcf-dump.c (print_constant): Add break. + 2016-07-21 Richard Biener * jcf-parse.c (java_emit_static_constructor): Set diff --git a/gcc/java/jcf-dump.c b/gcc/java/jcf-dump.c index 1331b55fa0e..8b00e57d24a 100644 --- a/gcc/java/jcf-dump.c +++ b/gcc/java/jcf-dump.c @@ -926,6 +926,7 @@ print_constant (FILE *out, JCF *jcf, int index, int verbosity) if (verbosity > 0) fprintf (out, "Fieldref: %ld=", (long) JPOOL_USHORT2 (jcf, index)); print_constant (out, jcf, JPOOL_USHORT2 (jcf, index), 0); + break; case 5: case 6: case 7: