public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc/devel/autopar_devel] silence empty-body warning
@ 2020-08-22 22:49 Giuliano Belinassi
0 siblings, 0 replies; only message in thread
From: Giuliano Belinassi @ 2020-08-22 22:49 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:b2386ff01b09c5223a2e9e506513bcf90714aebf
commit b2386ff01b09c5223a2e9e506513bcf90714aebf
Author: Tobias Burnus <tobias@codesourcery.com>
Date: Thu Jun 18 13:19:03 2020 +0200
silence empty-body warning
gcc/ChangeLog:
* gimple-pretty-print.c (dump_binary_rhs): Use braces to
silence empty-body warning with gcc_fallthrough.
Diff:
---
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:
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-08-22 22:49 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-22 22:49 [gcc/devel/autopar_devel] silence empty-body warning Giuliano Belinassi
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).