diff options
author | Jeff Law <law@redhat.com> | 2016-10-26 09:17:16 -0600 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 2016-10-26 09:17:16 -0600 |
commit | ae51afc5a2041cf8acec1343db13346fa9a848b1 (patch) | |
tree | 0ffaaf700df3b4bfad84d5d47f8829839b03e668 | |
parent | cd612e8a0124c51cd7bc3d18a1cba6c2d4e144c4 (diff) | |
download | gcc-ae51afc5a2041cf8acec1343db13346fa9a848b1.zip gcc-ae51afc5a2041cf8acec1343db13346fa9a848b1.tar.gz gcc-ae51afc5a2041cf8acec1343db13346fa9a848b1.tar.bz2 |
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
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/config/spu/spu.c | 4 |
2 files changed, 9 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 0b537ac..3780ba0 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2016-10-26 Jeff Law <law@redhat.com> + + * 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 <matz@suse.de> PR tree-optimization/78060 diff --git a/gcc/config/spu/spu.c b/gcc/config/spu/spu.c index 5b59b72..820924e 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); |