gcc/testsuite/gcc.dg/vect/bb-slp-pr101615-2.c
raw| 1 | /* { dg-additional-options "-O3 -w -Wno-psabi" } */ |
| 2 | |
| 3 | #include "tree-vect.h" |
| 4 | |
| 5 | int res[6] = { 5, 7, 11, 3, 3, 3 }; |
| 6 | int a[6] = {5, 5, 8}; |
| 7 | int c; |
| 8 | |
| 9 | int main() |
| 10 | { |
| 11 | check_vect (); |
| 12 | for (int b = 0; b <= 4; b++) |
| 13 | for (; c <= 4; c++) { |
| 14 | a[0] |= 1; |
| 15 | for (int e = 0; e <= 4; e++) |
| 16 | a[e + 1] |= 3; |
| 17 | } |
| 18 | |
| 19 | #pragma GCC novector |
| 20 | for (int d = 0; d < 6; d++) |
| 21 | if (a[d] != res[d]) |
| 22 | __builtin_abort (); |
| 23 | return 0; |
| 24 | } |