summaryrefslogtreecommitdiff
path: root/gcc/config/bfin
diff options
context:
space:
mode:
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>2016-10-28 15:22:28 +0000
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>2016-10-28 15:22:28 +0000
commitcb419ccc45326d741fc3bb8f5fc10d7c4d293f75 (patch)
tree1547e3f47ad7f94c470f1d0601125ebecbf41047 /gcc/config/bfin
parent5a321af036921c86828f9c4c88146d870aa7cbaa (diff)
downloadgcc-cb419ccc45326d741fc3bb8f5fc10d7c4d293f75.tar.gz
* config/bfin/bfin.c (bfin_legitimate_address_p): Add missing
fallthru comment. * config/bfin/bfin.h (TARGET_CPU_CPP_BUILTINS): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@241651 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/bfin')
-rw-r--r--gcc/config/bfin/bfin.c1
-rw-r--r--gcc/config/bfin/bfin.h5
2 files changed, 6 insertions, 0 deletions
diff --git a/gcc/config/bfin/bfin.c b/gcc/config/bfin/bfin.c
index 9b81868984a..2dfd03865d9 100644
--- a/gcc/config/bfin/bfin.c
+++ b/gcc/config/bfin/bfin.c
@@ -2718,6 +2718,7 @@ bfin_legitimate_address_p (machine_mode mode, rtx x, bool strict)
&& REG_P (XEXP (x, 0))
&& bfin_valid_reg_p (REGNO (XEXP (x, 0)), strict, mode, POST_INC))
return true;
+ break;
case PRE_DEC:
if (LEGITIMATE_MODE_FOR_AUTOINC_P (mode)
&& XEXP (x, 0) == stack_pointer_rtx
diff --git a/gcc/config/bfin/bfin.h b/gcc/config/bfin/bfin.h
index a85c8c4c79a..b5f1544e1bc 100644
--- a/gcc/config/bfin/bfin.h
+++ b/gcc/config/bfin/bfin.h
@@ -110,30 +110,35 @@
break; \
case BFIN_CPU_BF542M: \
builtin_define ("__ADSPBF542M__"); \
+ /* FALLTHRU */ \
case BFIN_CPU_BF542: \
builtin_define ("__ADSPBF542__"); \
builtin_define ("__ADSPBF54x__"); \
break; \
case BFIN_CPU_BF544M: \
builtin_define ("__ADSPBF544M__"); \
+ /* FALLTHRU */ \
case BFIN_CPU_BF544: \
builtin_define ("__ADSPBF544__"); \
builtin_define ("__ADSPBF54x__"); \
break; \
case BFIN_CPU_BF547M: \
builtin_define ("__ADSPBF547M__"); \
+ /* FALLTHRU */ \
case BFIN_CPU_BF547: \
builtin_define ("__ADSPBF547__"); \
builtin_define ("__ADSPBF54x__"); \
break; \
case BFIN_CPU_BF548M: \
builtin_define ("__ADSPBF548M__"); \
+ /* FALLTHRU */ \
case BFIN_CPU_BF548: \
builtin_define ("__ADSPBF548__"); \
builtin_define ("__ADSPBF54x__"); \
break; \
case BFIN_CPU_BF549M: \
builtin_define ("__ADSPBF549M__"); \
+ /* FALLTHRU */ \
case BFIN_CPU_BF549: \
builtin_define ("__ADSPBF549__"); \
builtin_define ("__ADSPBF54x__"); \