1 /* PR tree-optimization/59591 */
3 /* { dg-additional-options "-fopenmp-simd" } */
9 extern void abort (void);
11 long long int p
[256], r
[256], t
[256];
14 __attribute__((noinline
, noclone
)) void
18 #pragma omp simd safelen(64)
19 for (i
= 0; i
< 256; i
++)
24 __attribute__((noinline
, noclone
)) void
28 for (i
= 0; i
< 256; i
++)
30 r
[i
] = ((i
>> 2) & (1 << (i
& 3))) ? 32 + i
: 32 - i
;
31 q
[i
] = r
[i
] > 32 ? ((i
* 7) % 256) : 258 + i
;
36 for (i
= 0; i
< 256; i
++)
37 if ((i
>> 2) & (1 << (i
& 3)))
39 if (t
[i
] != ((i
* 7) % 256) * 11)
42 else if (t
[i
] != i
* 13)
56 /* { dg-final { cleanup-tree-dump "vect" } } */