From 3870268b27fbc5291f18608fc61d53bbfa5563fa Mon Sep 17 00:00:00 2001 From: Tobias Burnus Date: Thu, 18 Jun 2020 13:19:03 +0200 Subject: [PATCH] silence empty-body warning gcc/ChangeLog: * gimple-pretty-print.c (dump_binary_rhs): Use braces to silence empty-body warning with gcc_fallthrough. --- gcc/gimple-pretty-print.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gcc/gimple-pretty-print.c b/gcc/gimple-pretty-print.c index 0336d3e61c6..e05b770138e 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: -- 2.30.2