Small ChangeLog tweak.
[official-gcc.git] / gcc / testsuite / gcc.dg / torture / pr68661-1b.c
blob863c16a73653b437b9341e7947609e0c4b6561e6
1 /* { dg-do compile { target i?86-*-* x86_64-*-* } } */
2 /* { dg-options "-mgeneral-regs-only" } */
4 extern void foo (void);
5 extern void bad (void);
7 void
8 __attribute__ ((no_caller_saved_registers))
9 bar0 (int i0, int i1, int i2, int i3, int i4, int i5, int i6,
10 int i7, int i8)
12 if (i0 != 0)
13 bad ();
15 if (i1 != 1)
16 bad ();
18 if (i2 != 2)
19 bad ();
21 if (i3 != 3)
22 bad ();
24 if (i4 != 4)
25 bad ();
27 if (i5 != 5)
28 bad ();
30 if (i6 != 6)
31 bad ();
33 if (i7 != 7)
34 bad ();
36 if (i8 != 8)
37 bad ();
40 int
41 main ()
43 foo ();
44 return 0;