1 /* { dg-do run } */ 2 /* { dg-options "-O2 -mregparm=3" } */ 3 /* { dg-require-effective-target ia32 } */ 4 extern void abort (void); 5 s(int i)6int s (int i) 7 { 8 __label__ l1; 9 int f (int i) 10 { 11 if (i == 2) 12 goto l1; 13 return 0; 14 } 15 return f (i); 16 l1:; 17 return 1; 18 } 19 main()20int main () 21 { 22 if (s (2) != 1) 23 abort (); 24 25 return 0; 26 } 27