gcc/testsuite/gcc.target/i386/pr33329.c
raw| 1 | /* { dg-do compile } */ |
| 2 | /* { dg-options "-O2 -ftree-vectorize -msse2" } */ |
| 3 | |
| 4 | extern void g (int *); |
| 5 | |
| 6 | void f (void) |
| 7 | { |
| 8 | int tabs[1024], tabcount; |
| 9 | |
| 10 | for (tabcount = 1; tabcount <= 8; tabcount += 7) |
| 11 | { |
| 12 | int i; |
| 13 | for (i = 0; i < 1024; i++) |
| 14 | tabs[i] = i * 12345; |
| 15 | g (tabs); |
| 16 | } |
| 17 | } |
| 18 |