diff options
author | Richard Biener <rguenther@suse.de> | 2017-01-13 08:47:57 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2017-01-13 08:47:57 +0000 |
commit | 3c3b9090f86bef51e5b023616d1cfdcfa39f82b7 (patch) | |
tree | ad42d4e216d2bc02543090bf845236f41169041f /gcc | |
parent | 2532991330bb47ab45c099ad54681e3e1a0981a3 (diff) | |
download | gcc-3c3b9090f86bef51e5b023616d1cfdcfa39f82b7.zip gcc-3c3b9090f86bef51e5b023616d1cfdcfa39f82b7.tar.gz gcc-3c3b9090f86bef51e5b023616d1cfdcfa39f82b7.tar.bz2 |
re PR tree-optimization/77283 (Revision 238005 disables loop unrolling)
2017-01-13 Richard Biener <rguenther@suse.de>
PR tree-optimization/77283
* gcc.dg/tree-ssa/split-path-9.c: Fix.
From-SVN: r244394
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/tree-ssa/split-path-9.c | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 91b769c..379eebe 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,5 +1,10 @@ 2017-01-13 Richard Biener <rguenther@suse.de> + PR tree-optimization/77283 + * gcc.dg/tree-ssa/split-path-9.c: Fix. + +2017-01-13 Richard Biener <rguenther@suse.de> + * gcc.dg/gimplefe-22.c: New testcase. 2017-01-13 Richard Biener <rguenther@suse.de> diff --git a/gcc/testsuite/gcc.dg/tree-ssa/split-path-9.c b/gcc/testsuite/gcc.dg/tree-ssa/split-path-9.c index bd4ee76..8be0cd0 100644 --- a/gcc/testsuite/gcc.dg/tree-ssa/split-path-9.c +++ b/gcc/testsuite/gcc.dg/tree-ssa/split-path-9.c @@ -9,8 +9,8 @@ foo(unsigned int size, unsigned int *state) for(i = 0; i < size; i++) { - if(*state & 1) - *state ^= 1; + if(state[i] & 1) + state[i] ^= 1; } } |