summaryrefslogtreecommitdiff
path: root/gcc/config/sparc/sparc.c
diff options
context:
space:
mode:
authorro <ro@138bc75d-0d04-0410-961f-82ee72b054a4>2016-09-26 20:13:21 +0000
committerro <ro@138bc75d-0d04-0410-961f-82ee72b054a4>2016-09-26 20:13:21 +0000
commitc3d5d916c4163cbeab119af330fb7d510eab5fb8 (patch)
treeb37e490b1419791aca763a6d47ac22de295fefa9 /gcc/config/sparc/sparc.c
parent85527e8fab520593a059d0c097fa435787e93047 (diff)
downloadgcc-c3d5d916c4163cbeab119af330fb7d510eab5fb8.tar.gz
Fix fallthrough comments for Ada, Solaris/x86, SPARC
gcc: * config/i386/i386.c (ix86_print_operand) [HAVE_AS_IX86_CMOV_SUN_SYNTAX]: Add gcc_fallthrough. * config/sparc/sparc.c (check_pic): Add fallthrough comment. (epilogue_renumber): Likewise. gcc/ada: * gcc-interface/decl.c: Fix fall through comment formatting. * gcc-interface/misc.c: Likewise. * gcc-interface/trans.c: Likewise. * gcc-interface/utils.c: Likewise. * gcc-interface/utils2.c: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@240509 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/sparc/sparc.c')
-rw-r--r--gcc/config/sparc/sparc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/config/sparc/sparc.c b/gcc/config/sparc/sparc.c
index 5936f96bd80..c622b6674e2 100644
--- a/gcc/config/sparc/sparc.c
+++ b/gcc/config/sparc/sparc.c
@@ -3833,6 +3833,7 @@ check_pic (int i)
|| (GET_CODE (XEXP (op, 0)) == MINUS
&& XEXP (XEXP (op, 0), 0) == sparc_got ()
&& GET_CODE (XEXP (XEXP (op, 0), 1)) == CONST)));
+ /* fallthrough */
case 2:
default:
return 1;
@@ -8372,6 +8373,7 @@ epilogue_renumber (register rtx *where, int test)
return 1;
if (! test && REGNO (*where) >= 24 && REGNO (*where) < 32)
*where = gen_rtx_REG (GET_MODE (*where), OUTGOING_REGNO (REGNO(*where)));
+ /* fallthrough */
case SCRATCH:
case CC0:
case PC: