Daily bump.
[official-gcc.git] / gcc / testsuite / gcc.dg / autopar / pr46885.c
blob9560c92bfd4012a40acbd26accef29869793e49b
1 /* PR debug/46885 */
2 /* { dg-do compile } */
3 /* { dg-options "-O -ftree-parallelize-loops=4 -fcompare-debug -fno-tree-dominator-opts -funswitch-loops" } */
5 static inline void
6 bar (int i)
8 (void) i;
11 int
12 foo (int *begin, int *end)
14 int s = 0;
15 int *i;
16 for (i = begin; i != end; ++i)
18 bar (0);
19 if (begin)
20 return s;
22 return 0;