From: Richard Biener Date: Fri, 13 Jan 2017 08:47:57 +0000 (+0000) Subject: re PR tree-optimization/77283 (Revision 238005 disables loop unrolling) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3c3b9090f86bef51e5b023616d1cfdcfa39f82b7;p=gcc.git re PR tree-optimization/77283 (Revision 238005 disables loop unrolling) 2017-01-13 Richard Biener PR tree-optimization/77283 * gcc.dg/tree-ssa/split-path-9.c: Fix. From-SVN: r244394 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 91b769c0be5..379eebea759 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2017-01-13 Richard Biener + + PR tree-optimization/77283 + * gcc.dg/tree-ssa/split-path-9.c: Fix. + 2017-01-13 Richard Biener * gcc.dg/gimplefe-22.c: New testcase. 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 bd4ee76f82b..8be0cd01201 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; } }