silence empty-body warning
authorTobias Burnus <tobias@codesourcery.com>
Thu, 18 Jun 2020 11:19:03 +0000 (13:19 +0200)
committerTobias Burnus <tobias@codesourcery.com>
Thu, 18 Jun 2020 11:19:03 +0000 (13:19 +0200)
gcc/ChangeLog:

* gimple-pretty-print.c (dump_binary_rhs): Use braces to
silence empty-body warning with gcc_fallthrough.

gcc/gimple-pretty-print.c

index 0336d3e61c6e0d47ed757710647897af6d6fcd0c..e05b770138e60f8a5090164c5906153fed49acfc 100644 (file)
@@ -444,7 +444,9 @@ dump_binary_rhs (pretty_printer *buffer, const gassign *gs, int spc,
          break;
        }
       else
-       gcc_fallthrough ();
+       {
+         gcc_fallthrough ();
+       }
     case COMPLEX_EXPR:
     case VEC_WIDEN_MULT_HI_EXPR:
     case VEC_WIDEN_MULT_LO_EXPR: