aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.dg/torture/pr53589.c
blob: 5ab78907f9803111da0ddcbbf8fa0ed2a89ab019 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/* PR rtl-optimization/53589 */
/* { dg-do compile } */

extern void foo (void) __attribute__ ((__noreturn__));

void
bar (int x)
{
  if (x < 0)
    foo ();
  if (x == 0)
    return;
  __asm goto ("# %l[lab]" : : : : lab);
lab:;
}