This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Patch: only XFAIL builtin-constant.c at -O1
- From: "Kaveh R. Ghazi" <ghazi at caip dot rutgers dot edu>
- To: gcc-patches at gcc dot gnu dot org
- Cc: roger at eyesopen dot com
- Date: Tue, 28 Jan 2003 01:07:43 -0500 (EST)
- Subject: Patch: only XFAIL builtin-constant.c at -O1
As noted here:
http://gcc.gnu.org/ml/gcc-patches/2003-01/msg01359.html
and as seen here:
http://gcc.gnu.org/ml/gcc-testresults/2003-01/msg01214.html
builtin-constant.c only fails at -O1 now thanks to Roger's changes.
This patch alters the xfail to account for this. Tested on
sparc-sun-solaris2.7.
Ok for trunk?
Thanks,
--Kaveh
2003-01-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* gcc.c-torture/execute/builtin-constant.x: Only expect failure at -O1.
diff -rup orig/egcc-CVS20030127/gcc/testsuite/gcc.c-torture/execute/builtin-constant.x egcc-CVS20030127/gcc/testsuite/gcc.c-torture/execute/builtin-constant.x
--- orig/egcc-CVS20030127/gcc/testsuite/gcc.c-torture/execute/builtin-constant.x 2003-01-15 17:41:04.000000000 -0500
+++ egcc-CVS20030127/gcc/testsuite/gcc.c-torture/execute/builtin-constant.x 2003-01-28 00:38:05.374237000 -0500
@@ -3,8 +3,8 @@ set torture_eval_before_execute {
set compiler_conditional_xfail_data {
"This test fails on all targets when optimizing." \
{ "*-*-*" } \
- { "*" } \
- { "-O0" }
+ { "-O1" } \
+ { "" }
}
}