diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 6a279eba98f..e41c9896de2 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2016-01-29 Jakub Jelinek + + PR target/66137 + * gcc.target/i386/pr66137.c: New test. + 2016-01-29 Andrew Bennett * gcc.target/mips/p5600-bonding.c (dg-options): Force the test to be diff --git a/gcc/testsuite/gcc.target/i386/pr66137.c b/gcc/testsuite/gcc.target/i386/pr66137.c new file mode 100644 index 00000000000..ac230bfdee7 --- /dev/null +++ b/gcc/testsuite/gcc.target/i386/pr66137.c @@ -0,0 +1,11 @@ +/* PR target/66137 */ +/* { dg-do compile } */ +/* { dg-options "-mavx -O3 -ffixed-ebp" } */ + +void +foo (char *x, char *y, char *z, int a) +{ + int i; + for (i = a; i > 0; i--) + *x++ = *y++ = *z++; +}