summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/compile/pr18712.c
blob: 7d53aaae877f878d806707fe527538a4556302f3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
void *eintr_source (void *arg)
{
  int ts = 0;
  
  if (arg)
    foo ();
  
  while (1)
    {
      if (arg)
	foo ();
      
      foo1 (&ts);
    }
  
  return 0;
}