Debian Codegraph @

gcc/testsuite/gcc.dg/torture/pr87693.c

raw
1 /* { dg-do compile } */
2 /* { dg-require-effective-target indirect_jumps } */
3 /* { dg-additional-options "-w" { target avr-*-* } } */
4
5 void f (void);
6 void g (void);
7 void h (int a)
8 {
9 void *p, **q;
10 if (a)
11 p = (void *)f;
12 else
13 p = (void *)g;
14 q = (void *)p;
15 if (*q == (void *)0)
16 goto *p;
17 L0:
18 return;
19 }