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