diff options
Diffstat (limited to 'gcc/testsuite/gcc.dg/pr12092-1.c')
| -rw-r--r-- | gcc/testsuite/gcc.dg/pr12092-1.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.dg/pr12092-1.c b/gcc/testsuite/gcc.dg/pr12092-1.c new file mode 100644 index 0000000..3b13c56 --- /dev/null +++ b/gcc/testsuite/gcc.dg/pr12092-1.c @@ -0,0 +1,12 @@ +/* PR rtl-optimization/12092 */ +/* Test case reduced by Andrew Pinski <pinskia@physics.uc.edu> */ +/* { dg-do compile { target i?86-*-* x86_64-*-* } } */ +/* { dg-options "-O2 -mtune=i486 -march=pentium4 -fprefetch-loop-arrays" } */ + +void DecodeAC(int index,int *matrix) +{ + int *mptr; + + for(mptr=matrix+index;mptr<matrix+64;mptr++) {*mptr = 0;} +} + |
