aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/compile/pr82879.c
blob: fad3fed8de975d8ea35c53b89b347cf52f834e9b (plain)
1
2
3
4
5
6
7
8
9
10
11
int a, b;
static __attribute__((cold)) void fn1() {
  for (;;)
    for (; a;)
      ;
}
void fn2() {
  if (b)
    fn1();
}