2018-05-15 Richard Biener <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / gcc.dg / pr81578.c
bloba6ef77f20c02d3458dc33a40b073cd093b72849c
1 /* PR tree-optimization/81578 */
2 /* { dg-do compile { target pthread } } */
3 /* { dg-options "-O2 -ftree-parallelize-loops=2" } */
5 int
6 foo (int *x)
8 int i, r = 1;
9 for (i = 0; i != 1024; i++)
10 r *= x[i] < 0;
11 return r;