summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/pr86076.c
blob: 390ca47ba12481e4f9587a11a8c46de0c74de0d8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
/* { dg-do compile { target pthread } }  */
/* { dg-options "-O2 -ftree-parallelize-loops=2 -fno-tree-dce -fno-tree-pre -fno-tree-vrp --param max-loop-header-insns=1" } */

int __attribute__ ((noinline))
lv (int tm)
{
  (void) tm;

  return 0;
}

void
o7 (int uu)
{
  while (uu < 1)
    while (uu != 0)
      {
	short int ca;

	ca = lv (0);
	(void) ca;
	++uu;
      }

  lv (lv (0));
}