2018-05-17 Richard Biener <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / pr66626.c
blobdca4afc299adfff2c708578e1139e7f6ef6ecfa3
1 /* { dg-do run } */
2 /* { dg-options "-O2 -mregparm=3" } */
3 /* { dg-require-effective-target ia32 } */
4 extern void abort (void);
6 int s (int i, int j, int k, int l)
8 __label__ l1;
9 int f (int i, int j, int k, int l)
11 if (i + j + k + l == 10)
12 goto l1;
13 return 0;
15 return f (i, j, k, l);
16 l1:;
17 return 1;
20 int main ()
22 if (s (1, 2, 3, 4) != 1)
23 abort ();
25 return 0;