This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
[gcc-3.3 patch] fix for "FAIL: g++.jason/thunk3.C" in gcc-3.3 testsuite
- From: Dan Kegel <dkegel at ixiacom dot com>
- To: gcc at gcc dot gnu dot org
- Date: Mon, 21 Jul 2003 11:55:55 -0700
- Subject: [gcc-3.3 patch] fix for "FAIL: g++.jason/thunk3.C" in gcc-3.3 testsuite
Fixes the testcase failure
FAIL: g++.jason/thunk3.C (test for excess errors)
on sh4-unknown-linux-gnu.
Does any sh variant *not* use the generic thunk support? If so, the patch should be
more cautious. As it is, it excludes all sh processors from this test.
I've verified that this patch is not already in linux-sh's gcc-3.2.3-3.src.rpm
Anyone object to me submitting this to gcc-patches@gcc.gnu.org?
Thanks,
Dan
Index: thunk3.C
===================================================================
RCS file: /cvsroot/gcc/gcc/gcc/testsuite/g++.old-deja/g++.jason/thunk3.C,v
retrieving revision 1.13
diff -u -d -u -r1.13 thunk3.C
--- gcc-ss-3_3-20030714/gcc/testsuite/g++.old-deja/g++.jason/thunk3.C.old 25 Mar 2002 17:57:03 -0000 1.13
+++ gcc-ss-3_3-20030714/gcc/testsuite/g++.old-deja/g++.jason/thunk3.C 20 Jul 2003 16:57:38 -0000
@@ -2,7 +2,7 @@
// Note that this will break on any target that uses the generic thunk
// support, because it doesn't support variadic functions.
-// excess errors test - XFAIL mips*-*-* rs6000-*-* powerpc-*-eabi m68k-*-coff m68k-motorola-sysv m88k-motorola-sysv3 mn10300-*-* mn10200-*-* v850-*-* sh-*-* sh64-*-* h8*-*-* xtensa-*-*
+// excess errors test - XFAIL mips*-*-* rs6000-*-* powerpc-*-eabi m68k-*-coff m68k-motorola-sysv m88k-motorola-sysv3 mn10300-*-* mn10200-*-* v850-*-* sh*-*-* h8*-*-* xtensa-*-*
#include <stdarg.h>