aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/pr100590.c
blob: 64cb717ed0eec806bd8c6734b3bb61ecab205bd8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* PR rtl-optimization/100590 */
/* { dg-do compile { target asm_goto_with_outputs } } */
/* { dg-options "-O1 -fno-dce -w" } */

int
foo (void)
{
  int x;
  asm goto ("" : "+r" (x) : : : lab);
  return 0;
 lab:
  return 1;
}