pr43662.c (dg-options): Add -maccumulate-outgoing-args.
[gcc.git] / gcc / testsuite / gcc.target / i386 / pr43869.c
1 /* { dg-do compile { target lp64 } } */
2 /* { dg-options "-maccumulate-outgoing-args" } */
3
4 int __attribute__((__noinline__))
5 bugged(float f1, float f2, float f3, float f4,
6 float f5, float f6, float f7, float f8)
7 {
8 return f1 || f2 || f3 || f4 || f5 != 1. || f6 != 1. || f7 != 1. || f8 != 1.;
9 }
10
11 int __attribute__((__noinline__, __ms_abi__)) isbugged(void)
12 {
13 return bugged(0, 0, 0, 0, 1., 1., 1., 1.);
14 }
15
16 int main()
17 {
18 return isbugged();
19 }
20