aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/pr96931.c
blob: 94b8a1128eee495586aefbdd3db3cbae72e6549e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/* { dg-do compile } */
/* { dg-options "-O1 -fpredictive-commoning -fno-tree-loop-im" } */

int bl;

void
p3 (void);

void __attribute__ ((returns_twice))
ie (void)
{
  p3 ();

  bl = 0;
  for (;;)
    ++bl;

  ie ();
}