gcc/testsuite/gcc.dg/vect/pr113431.c
raw| 1 | /* { dg-additional-options "-O3 -fdump-tree-slp1-details" } */ |
| 2 | |
| 3 | #include "tree-vect.h" |
| 4 | |
| 5 | int a[2][9]; |
| 6 | int b; |
| 7 | int main() |
| 8 | { |
| 9 | check_vect (); |
| 10 | for (b = 0; b < 2; b++) |
| 11 | for (long e = 8; e > 0; e--) |
| 12 | a[b][e] = a[0][1] == 0; |
| 13 | if (a[1][1] != 0) |
| 14 | __builtin_abort (); |
| 15 | return 0; |
| 16 | } |
| 17 | |
| 18 | /* { dg-final { scan-tree-dump-times "optimized: basic block part vectorized" 2 "slp1" { target { vect_int && vect_hw_misalign } } } } */ |