aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Burnus <tobias@codesourcery.com>2020-06-18 13:19:03 +0200
committerGiuliano Belinassi <giuliano.belinassi@usp.br>2020-08-17 13:13:59 -0300
commitb2386ff01b09c5223a2e9e506513bcf90714aebf (patch)
tree73b463ef32f3b92bdee4b31e1b69d51f23b60cda
parent3842eb5c3d207861840b60ff9b2c0b3438491929 (diff)
downloadgcc-b2386ff01b09c5223a2e9e506513bcf90714aebf.zip
gcc-b2386ff01b09c5223a2e9e506513bcf90714aebf.tar.gz
gcc-b2386ff01b09c5223a2e9e506513bcf90714aebf.tar.bz2
silence empty-body warning
gcc/ChangeLog: * gimple-pretty-print.c (dump_binary_rhs): Use braces to silence empty-body warning with gcc_fallthrough.
-rw-r--r--gcc/gimple-pretty-print.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/gcc/gimple-pretty-print.c b/gcc/gimple-pretty-print.c
index 0336d3e..e05b770 100644
--- a/gcc/gimple-pretty-print.c
+++ b/gcc/gimple-pretty-print.c
@@ -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: