From ae51afc5a2041cf8acec1343db13346fa9a848b1 Mon Sep 17 00:00:00 2001 From: Jeff Law Date: Wed, 26 Oct 2016 09:17:16 -0600 Subject: [PATCH] spu.c (spu_sched_reorder): Add missing fallthru comment. * config/spu/spu.c (spu_sched_reorder): Add missing fallthru comment. (spu_legitimate_address_p): Fix logic error and add missing fallthru comment. From-SVN: r241557 --- gcc/ChangeLog | 6 ++++++ gcc/config/spu/spu.c | 4 +++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 0b537acb64d..3780ba084b3 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2016-10-26 Jeff Law + + * config/spu/spu.c (spu_sched_reorder): Add missing fallthru comment. + (spu_legitimate_address_p): Fix logic error and add missing fallthru + comment. + 2016-10-26 Michael Matz PR tree-optimization/78060 diff --git a/gcc/config/spu/spu.c b/gcc/config/spu/spu.c index 5b59b7270a9..820924e0882 100644 --- a/gcc/config/spu/spu.c +++ b/gcc/config/spu/spu.c @@ -2894,6 +2894,7 @@ spu_sched_reorder (FILE *file ATTRIBUTE_UNUSED, int verbose ATTRIBUTE_UNUSED, case TYPE_LOAD: case TYPE_STORE: pipe_ls = i; + /* FALLTHRU */ case TYPE_LNOP: case TYPE_SHUF: case TYPE_BR: @@ -3532,8 +3533,9 @@ spu_legitimate_address_p (machine_mode mode, case SUBREG: x = XEXP (x, 0); - if (REG_P (x)) + if (!REG_P (x)) return 0; + /* FALLTHRU */ case REG: return INT_REG_OK_FOR_BASE_P (x, reg_ok_strict); -- 2.30.2