aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Burnus <tobias@codesourcery.com>2020-06-18 13:19:03 +0200
committerTobias Burnus <tobias@codesourcery.com>2020-06-18 13:19:03 +0200
commit3870268b27fbc5291f18608fc61d53bbfa5563fa (patch)
tree1e6413fe9401762efbe9f902fcdbd229131e4350
parent2e0f4a18bc978c73624dd016e4cce229c2809c9c (diff)
downloadgcc-3870268b27fbc5291f18608fc61d53bbfa5563fa.zip
gcc-3870268b27fbc5291f18608fc61d53bbfa5563fa.tar.gz
gcc-3870268b27fbc5291f18608fc61d53bbfa5563fa.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: