OSDN Git Service

f95308d108dc4fbb625f0b0eac1ef3522b7a826d
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.target / i386 / pr40906-3.c
1 /* { dg-do run } */
2 /* { dg-require-effective-target ilp32 } */
3 /* { dg-options "-O2 -fomit-frame-pointer -msse2 -mpush-args -mno-accumulate-outgoing-args" } */
4
5 #include "sse2-check.h"
6
7 void __attribute__((noinline))
8 f (__float128 a)
9 {
10   if (a != 1.23Q)
11     abort ();
12 }
13
14 int __attribute__((noinline))
15 g (__float128 b)
16 {
17   f (b);
18   return 0;
19 }
20
21 static void
22 sse2_test (void)
23 {
24   g (1.23Q);
25 }