aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/compile/20150327.c
blob: 125b722a6eba1bef0f859b47af7b460e66d29084 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* { dg-require-effective-target indirect_calls } */

int a;
int (*b)(), (*c)();
int fn1(int p1) {
  if (a)
    return 0;
  if (p1) {
    c();
    b();
  }
}
void fn2() { fn1(0); }