gcc/testsuite/gcc.dg/vect/pr64495.c
raw| 1 | #include <assert.h> |
| 2 | #include "tree-vect.h" |
| 3 | |
| 4 | int a, b, c, d, e, f, g, i, j; |
| 5 | static int *h = &e; |
| 6 | |
| 7 | int |
| 8 | main () |
| 9 | { |
| 10 | check_vect (); |
| 11 | |
| 12 | for (; a;) |
| 13 | for (; g; g++) |
| 14 | #pragma GCC novector |
| 15 | for (; f; f++) |
| 16 | if (j) |
| 17 | { |
| 18 | assert(b); |
| 19 | assert(0); |
| 20 | } |
| 21 | for (i = 24; i; i--) |
| 22 | { |
| 23 | for (c = 0; c < 6; c++) |
| 24 | d |= 1; |
| 25 | *h |= d; |
| 26 | } |
| 27 | |
| 28 | if (e != 1) |
| 29 | __builtin_abort (); |
| 30 | |
| 31 | return 0; |
| 32 | } |
| 33 |