[gcc-3.3 patch] fix for "FAIL: g++.jason/thunk3.C" in gcc-3.3 testsuite

Dan Kegel dkegel@ixiacom.com
Mon Jul 21 21:03:00 GMT 2003


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>





More information about the Gcc mailing list