gcc/testsuite/gcc.dg/vect/pr117594.c
raw| 1 | /* { dg-require-effective-target int32plus } */ |
| 2 | |
| 3 | #include "tree-vect.h" |
| 4 | |
| 5 | unsigned a; |
| 6 | short b, d, e; |
| 7 | int main() |
| 8 | { |
| 9 | check_vect (); |
| 10 | short h = d; |
| 11 | short *z = &h; |
| 12 | for (_Bool i = 0; i < 1; i = 1) |
| 13 | for (unsigned j = 0; j < (z[i] ?: 10); j += 3) |
| 14 | { |
| 15 | a -= 9; |
| 16 | b -= ~e; |
| 17 | } |
| 18 | if (a != 4294967260) |
| 19 | __builtin_abort (); |
| 20 | } |