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]

[testsuite] Remove strcmp-1.c XFAIL


Earlier versions of the VxWorks kernel's strcmp function used signed
rather than unsigned comparisons.  This problem has been fixed in recent
versions (6.5 and 6.6), so is it OK to remove the XFAIL?  Tested on
i586-wrs-vxworks, mips-wrs-vxworks, sh-wrs-vxworks and sparc-wrs-vxworks.

Richard


gcc/testsuite/
	* gcc.c-torture/execute/strcmp-1.x: Delete.

Index: gcc/testsuite/gcc.c-torture/execute/strcmp-1.x
===================================================================
--- gcc/testsuite/gcc.c-torture/execute/strcmp-1.x	(revision 127336)
+++ gcc/testsuite/gcc.c-torture/execute/strcmp-1.x	(working copy)
@@ -1,16 +0,0 @@
-if {[istarget i?86-*-vxworks*]
-    || [istarget mips*-*-vxworks*]
-    || [istarget sh*-*-vxworks*]
-    || [istarget sparc*-*-vxworks*]} {
-    # The kernel strcmp doesn't perform unsigned comparisons.
-    set torture_eval_before_execute {
-	global compiler_conditional_xfail_data
-	set compiler_conditional_xfail_data {
-	    "The kernel strcmp doesn't perform unsigned comparisons."
-	    { "*-*-*" }
-	    {}
-	    { "-mrtp" }
-	}
-    }
-}
-return 0


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