From a563e6e9a1e3e7b3378b5f1e1596b6810f51942c Mon Sep 17 00:00:00 2001 From: Jeff Law Date: Fri, 28 Oct 2016 09:22:28 -0600 Subject: [PATCH] bfin.c (bfin_legitimate_address_p): Add missing fallthru comment. * config/bfin/bfin.c (bfin_legitimate_address_p): Add missing fallthru comment. * config/bfin/bfin.h (TARGET_CPU_CPP_BUILTINS): Likewise. From-SVN: r241651 --- gcc/ChangeLog | 6 ++++++ gcc/config/bfin/bfin.c | 1 + gcc/config/bfin/bfin.h | 5 +++++ 3 files changed, 12 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index cfd0929a1fe..3f2ea4dfc71 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2016-10-28 Jeff Law + + * config/bfin/bfin.c (bfin_legitimate_address_p): Add missing + fallthru comment. + * config/bfin/bfin.h (TARGET_CPU_CPP_BUILTINS): Likewise. + 2016-10-28 Segher Boessenkool PR rtl-optimization/78029 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__"); \ -- 2.30.2