aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite
diff options
context:
space:
mode:
authorUros Bizjak <uros@gcc.gnu.org>2007-05-21 22:41:34 +0200
committerUros Bizjak <uros@gcc.gnu.org>2007-05-21 22:41:34 +0200
commitf6d95b1e6dd2b0cd48e39457c004c91bcedb2dce (patch)
treed393e5a9bf17a7fdb063e9597a4c94dd5889eb0c /gcc/testsuite
parent32c8d4b145fef47f82f2439f5226daf00022a780 (diff)
downloadgcc-f6d95b1e6dd2b0cd48e39457c004c91bcedb2dce.zip
gcc-f6d95b1e6dd2b0cd48e39457c004c91bcedb2dce.tar.gz
gcc-f6d95b1e6dd2b0cd48e39457c004c91bcedb2dce.tar.bz2
990127-2.x: New file.
* gcc.c-torture/execute/990127-2.x: New file. From-SVN: r124908
Diffstat (limited to 'gcc/testsuite')
-rw-r--r--gcc/testsuite/ChangeLog6
-rw-r--r--gcc/testsuite/gcc.c-torture/execute/990127-2.x15
2 files changed, 20 insertions, 1 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 9e32a38..0302fc4 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,5 +1,9 @@
2007-05-21 Uros Bizjak <ubizjak@gmail.com>
+ * gcc.c-torture/execute/990127-2.x: New file.
+
+2007-05-21 Uros Bizjak <ubizjak@gmail.com>
+
* gcc.target/i386/sse-14.c: Remove all intrinsic redefines.
* gcc.target/i386/sse-12: Add -O to compile options.
* g++.dg/other/i386-2.C: Use "-march=k8 -m3dnow -mssse3
@@ -4315,7 +4319,7 @@
* gcc.dg/builtin-bswap-3.c: Likewise.
* gcc.dg/builtin-bswap-4.c: Likewise.
* lib/target-supports.exp (check_effective_target_stdint_types): New.
- * cc.c-torture/execute/mode-dependent-address.x: New file.
+ * gcc.c-torture/execute/mode-dependent-address.x: New file.
2006-12-15 Jerry DeLisle <jvdelisle@gcc.gnu.org>
diff --git a/gcc/testsuite/gcc.c-torture/execute/990127-2.x b/gcc/testsuite/gcc.c-torture/execute/990127-2.x
new file mode 100644
index 0000000..56455ab
--- /dev/null
+++ b/gcc/testsuite/gcc.c-torture/execute/990127-2.x
@@ -0,0 +1,15 @@
+# On x86 targets, two floating-point double values can't be reliably compared
+# for inequality due to excess precision of 80387 floating-point coprocessor.
+# Use -mpc64 to force 80387 floating-point precision to 64 bits. This option
+# has no effect on SSE, but it is needed in case of -m32 on x86_64 targets.
+
+if { [istarget i?86-*-linux*]
+ || [istarget i?86-*-kfreebsd*-gnu]
+ || [istarget i?86-*-knetbsd*-gnu]
+ || [istarget x86_64-*-linux*]
+ || [istarget x86_64-*-kfreebsd*-gnu]
+ || [istarget x86_64-*-knetbsd*-gnu] } {
+ set additional_flags "-mpc64"
+}
+
+return 0