diff options
Diffstat (limited to 'gcc/testsuite')
-rw-r--r-- | gcc/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/vect/pr66951.c | 14 |
2 files changed, 19 insertions, 0 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index fe273a8..6f33103 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2015-07-23 Yuri Rumyantsev <ysrumyan@gmail.com> + + PR tree-optimization/66926,66951 + * gcc.dg/vect/pr66951.c: New test. + 2015-07-23 Paolo Carlini <paolo.carlini@oracle.com> PR c++/52987 diff --git a/gcc/testsuite/gcc.dg/vect/pr66951.c b/gcc/testsuite/gcc.dg/vect/pr66951.c new file mode 100644 index 0000000..628e1ee --- /dev/null +++ b/gcc/testsuite/gcc.dg/vect/pr66951.c @@ -0,0 +1,14 @@ +/* { dg-do compile } */ + +int a, b[16], c, d; + +void +fn1 () +{ + for (; d; d++) + { + for (a = 0; a < 2; a++) + ; + c ^= b[d]; + } +} |