This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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" } \
+        { "" }
     }
 }
 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]