This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[testsuite] Remove strcmp-1.c XFAIL
- From: Richard Sandiford <richard at codesourcery dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Fri, 10 Aug 2007 19:39:30 +0100
- Subject: [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