aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.7/gcc/testsuite/gcc.target/i386/long-double-80-6.c
diff options
context:
space:
mode:
authorAndrew Hsieh <andrewhsieh@google.com>2012-10-09 12:52:14 +0800
committerAndrew Hsieh <andrewhsieh@google.com>2012-10-09 12:52:14 +0800
commit163b750d6d294bf3f2dcdaeb6f020bef1c55aafb (patch)
tree7bbb22d70bceeb53c2ebefbaa135da4cc86514c1 /gcc-4.7/gcc/testsuite/gcc.target/i386/long-double-80-6.c
parent3800bda255b20023e993ed786674f70c909d60b5 (diff)
downloadtoolchain_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.c11
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;
+}