summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/pr43379.c
blob: da4e6ba67adf2c5abe9cb09d42478fa9e3d33b64 (plain)
1
2
3
4
5
6
7
8
9
10
11
/* { dg-do compile } */
/* { dg-options "-O2 -ftracer -w" } */

void *foo(int i, int *p)
{
lab:
  if (p) *p = i;
  goto *p;
  return &&lab;
}