PR middle-end/77357 - strlen of constant strings not folded
[official-gcc.git] / gcc / testsuite / gcc.dg / pr86076.c
blob390ca47ba12481e4f9587a11a8c46de0c74de0d8
1 /* { dg-do compile { target pthread } } */
2 /* { dg-options "-O2 -ftree-parallelize-loops=2 -fno-tree-dce -fno-tree-pre -fno-tree-vrp --param max-loop-header-insns=1" } */
4 int __attribute__ ((noinline))
5 lv (int tm)
7 (void) tm;
9 return 0;
12 void
13 o7 (int uu)
15 while (uu < 1)
16 while (uu != 0)
18 short int ca;
20 ca = lv (0);
21 (void) ca;
22 ++uu;
25 lv (lv (0));