2018-05-17 Richard Biener <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / pr59929.c
blob53e0b237c2706133dd5403858b96162436d576ec
1 /* { dg-do run } */
2 /* { dg-options "-O0 -mno-accumulate-outgoing-args" } */
3 /* { dg-additional-options "-mx32 -maddress-mode=short" { target x32 } } */
5 void
6 __attribute__ ((noinline))
7 test (float x1, float x2, float x3, float x4, float x5, float x6,
8 float x7, float x8, float x9, float x10, float x11, float x12,
9 float x13, float x14, float x15, float x16)
11 if (x1 != 91
12 || x2 != 92
13 || x3 != 93
14 || x4 != 94
15 || x5 != 95
16 || x6 != 96
17 || x7 != 97
18 || x8 != 98
19 || x9 != 99
20 || x10 != 100
21 || x11 != 101
22 || x12 != 102
23 || x13 != 103
24 || x14 != 104
25 || x15 != 105
26 || x16 != 106)
27 __builtin_abort ();
30 float x1, x2, x3, x4, x5, x6, x7, x8, x9, x10, x11, x12, x13,
31 x14, x15, x16;
33 int
34 main ()
36 x1 = 91;
37 x2 = 92;
38 x3 = 93;
39 x4 = 94;
40 x5 = 95;
41 x6 = 96;
42 x7 = 97;
43 x8 = 98;
44 x9 = 99;
45 x10 = 100;
46 x11 = 101;
47 x12 = 102;
48 x13 = 103;
49 x14 = 104;
50 x15 = 105;
51 x16 = 106;
52 test (x1, x2, x3, x4, x5, x6, x7, x8, x9, x10, x11, x12, x13,
53 x14, x15, x16);
54 return 0;