diff options
| author | Andrew Hsieh <andrewhsieh@google.com> | 2012-10-09 12:52:14 +0800 |
|---|---|---|
| committer | Andrew Hsieh <andrewhsieh@google.com> | 2012-10-09 12:52:14 +0800 |
| commit | 163b750d6d294bf3f2dcdaeb6f020bef1c55aafb (patch) | |
| tree | 7bbb22d70bceeb53c2ebefbaa135da4cc86514c1 /gcc-4.7/gcc/testsuite/gcc.target/i386/long-double-80-6.c | |
| parent | 3800bda255b20023e993ed786674f70c909d60b5 (diff) | |
| download | toolchain_gcc-163b750d6d294bf3f2dcdaeb6f020bef1c55aafb.tar.gz toolchain_gcc-163b750d6d294bf3f2dcdaeb6f020bef1c55aafb.tar.bz2 toolchain_gcc-163b750d6d294bf3f2dcdaeb6f020bef1c55aafb.zip | |
[4.7] 64-bit long double for bionic
See Related CL 65cadbba7f7e816b4b2bff752808b7429d0d0f2a
done to GCC 4.6
Change-Id: Ia2da804331e82e47f62925a8e9ab819507501fc9
Diffstat (limited to 'gcc-4.7/gcc/testsuite/gcc.target/i386/long-double-80-6.c')
| -rw-r--r-- | gcc-4.7/gcc/testsuite/gcc.target/i386/long-double-80-6.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/gcc-4.7/gcc/testsuite/gcc.target/i386/long-double-80-6.c b/gcc-4.7/gcc/testsuite/gcc.target/i386/long-double-80-6.c new file mode 100644 index 000000000..a395a2659 --- /dev/null +++ b/gcc-4.7/gcc/testsuite/gcc.target/i386/long-double-80-6.c @@ -0,0 +1,11 @@ +/* { dg-do run } */ +/* { dg-options "-O0 -mlong-double-64 -mfpmath=387" } */ + +int +main () +{ + __float80 a = -0.23456789; + if ((double) a >= 0) + __builtin_abort (); + return 0; +} |
