OSDN Git Service

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