2015-12-10 Vladimir Makarov <vmakarov@redhat.com>
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / pr40906-1.c
blob233d8fdcb0ec0bb4d7811f7b64d707119ca5e0b3
1 /* { dg-do run } */
2 /* { dg-require-effective-target ia32 } */
3 /* { dg-options "-O2 -fomit-frame-pointer -fno-asynchronous-unwind-tables -mpush-args -mno-accumulate-outgoing-args" } */
4 /* { dg-options "-O2 -fomit-frame-pointer -fno-asynchronous-unwind-tables -mpush-args" { target *-*-mingw* *-*-cygwin* } } */
6 void abort (void);
8 void __attribute__((noinline))
9 f (long double a)
11 if (a != 1.23L)
12 abort ();
15 int __attribute__((noinline))
16 g (long double b)
18 f (b);
19 return 0;
22 int
23 main (void)
25 g (1.23L);
26 return 0;