summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>2002-10-08 23:21:40 +0000
committerghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>2002-10-08 23:21:40 +0000
commit3c75e7d0ccb4402fd368b1ed242ffcf6d7cb5e7c (patch)
treefafeb825a06d90ce2291dedc3b70a7e92e22560d
parentc8a606aefd54c300d6fb994a3840800e0131331a (diff)
downloadppe42-gcc-3c75e7d0ccb4402fd368b1ed242ffcf6d7cb5e7c.tar.gz
ppe42-gcc-3c75e7d0ccb4402fd368b1ed242ffcf6d7cb5e7c.zip
* gcc.c-torture/execute/20020720-1.x: Take out sparc XFAILs. For
remaining platforms, XFAIL during compile, not execute. Don't XFAIL at -O0. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@57963 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/testsuite/ChangeLog6
-rw-r--r--gcc/testsuite/gcc.c-torture/execute/20020720-1.x19
2 files changed, 13 insertions, 12 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 73700051cd2..9b3a86e86d5 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,9 @@
+2002-10-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
+
+ * gcc.c-torture/execute/20020720-1.x: Take out sparc XFAILs. For
+ remaining platforms, XFAIL during compile, not execute. Don't
+ XFAIL at -O0.
+
2002-10-08 Nathan Sidwell <nathan@codesourcery.com>
* gcc.dg/alias-1.c: Tweak expected warning.
diff --git a/gcc/testsuite/gcc.c-torture/execute/20020720-1.x b/gcc/testsuite/gcc.c-torture/execute/20020720-1.x
index 10980f489db..f97974b245b 100644
--- a/gcc/testsuite/gcc.c-torture/execute/20020720-1.x
+++ b/gcc/testsuite/gcc.c-torture/execute/20020720-1.x
@@ -9,21 +9,16 @@
# for example the comparison insn takes 0.0 as an operand, the
# combiner is able to see all intermediate instructions simultaneously
# and can make the optimization.
-if { [istarget "mips*-*-*"] || [istarget "xtensa-*-*"] \
- || [istarget "sh-*-*"] || [istarget "arm*-*-*"] \
- || [istarget "strongarm*-*-*"] || [istarget "xscale*-*-*"] \
- || [istarget "sparc64-*-*"] || [istarget "sparcv9-*-*"] } {
- set torture_execute_xfail [istarget]
-}
-# sparc-*-* also fails with -m64.
-set torture_eval_before_execute {
+# Don't XFAIL at -O0, that should never fail.
+set torture_eval_before_compile {
global compiler_conditional_xfail_data
set compiler_conditional_xfail_data {
- "This test fails on sparc -m64, see PR8087." \
- { "sparc-*-*" } \
- { "-m64" } \
- { "" }
+ "This test fails to optimize completely on certain platforms." \
+ { "mips*-*-*" "xtensa-*-*" "sh-*-*" "arm*-*-*" "strongarm*-*-*" \
+ "xscale*-*-*" } \
+ { "*" } \
+ { "-O0" }
}
}
OpenPOWER on IntegriCloud