aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRoger Sayle <roger@eyesopen.com>2002-07-26 02:38:42 +0000
committerRoger Sayle <sayle@gcc.gnu.org>2002-07-26 02:38:42 +0000
commit7702af3606f28135c3d9a52029d8b89c283c0fd2 (patch)
treee693b54438b0f4f8e45a1cccc2758424bde39b66 /gcc
parentbcc6a03a0aa4bd9e1c41b7d95dd2aab71911d0c0 (diff)
downloadgcc-7702af3606f28135c3d9a52029d8b89c283c0fd2.zip
gcc-7702af3606f28135c3d9a52029d8b89c283c0fd2.tar.gz
gcc-7702af3606f28135c3d9a52029d8b89c283c0fd2.tar.bz2
20020720-1.x: Skip this test on several targets known to fail.
* gcc.c-torture/execute/20020720-1.x: Skip this test on several targets known to fail. From-SVN: r55769
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/ChangeLog5
-rw-r--r--gcc/testsuite/gcc.c-torture/execute/20020720-1.x16
2 files changed, 21 insertions, 0 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 991d5e1..ea6ed39 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2002-07-25 Roger Sayle <roger@eyesopen.com>
+
+ * gcc.c-torture/execute/20020720-1.x: Skip this test on
+ several targets known to fail.
+
2002-07-25 Richard Sandiford <rsandifo@redhat.com>
* gcc.dg/mips-args-[123].c: New tests.
diff --git a/gcc/testsuite/gcc.c-torture/execute/20020720-1.x b/gcc/testsuite/gcc.c-torture/execute/20020720-1.x
new file mode 100644
index 0000000..6534217
--- /dev/null
+++ b/gcc/testsuite/gcc.c-torture/execute/20020720-1.x
@@ -0,0 +1,16 @@
+# The following targets fail 20020720-1.c for several reasons:
+# (1) They implement floating point instructions via software, or
+# (2) Their machine descriptions obfuscate the "abs(x) < 0.0" comparison.
+# For example, 1 insn performs abs, 1 insn loads 0.0, 1 insn sets
+# CCmode flags based upon the FP comparison, and a 4th insn makes
+# a conditional branch based upon the appropriate bits in the flags.
+# If the intermediate comparison can't be recognized, the combiner
+# is unable to optimize all four RTL instructions simultaneously.
+
+if { [istarget "powerpc-*-*"] || [istarget "rs6000-*-*"] \
+ || [istarget "mips*-*-*"] || [istarget "xtensa-*-*"] \
+ || [istarget "sh-*-*"] } {
+ return 1
+}
+
+return 0