[testsuite] Remove strcmp-1.c XFAIL

Richard Sandiford richard@codesourcery.com
Fri Aug 10 18:39:00 GMT 2007


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



More information about the Gcc-patches mailing list