gcc/testsuite/gcc.dg/vect/pr114733.c
raw| 1 | /* { dg-additional-options "-O3" } */ |
| 2 | |
| 3 | #include "tree-vect.h" |
| 4 | |
| 5 | long b = 1; |
| 6 | signed char c; |
| 7 | int d[25]; |
| 8 | |
| 9 | int main() |
| 10 | { |
| 11 | check_vect (); |
| 12 | for (signed char g = 0; g < 8; g += 1) |
| 13 | for (short h = 0; h < 25; h += 2) { |
| 14 | b *= -1; |
| 15 | c ^= d[h]; |
| 16 | } |
| 17 | if (b != 1) |
| 18 | abort (); |
| 19 | return 0; |
| 20 | } |