patches/gcc/3.3.3/thunk3.patch
changeset 1 eeea35fbf182
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/patches/gcc/3.3.3/thunk3.patch	Sat Feb 24 11:00:05 2007 +0000
     1.3 @@ -0,0 +1,23 @@
     1.4 +Fixes 
     1.5 +FAIL: g++.jason/thunk3.C (test for excess errors)
     1.6 +on sh4-unknown-linux-gnu.
     1.7 +
     1.8 +Does any sh variant *not* use the generic thunk support?  If so, the patch should be
     1.9 +more cautious.  As it is, it excludes all sh processors from this test.
    1.10 +
    1.11 +Index: thunk3.C
    1.12 +===================================================================
    1.13 +RCS file: /cvsroot/gcc/gcc/gcc/testsuite/g++.old-deja/g++.jason/thunk3.C,v
    1.14 +retrieving revision 1.13
    1.15 +diff -u -d -u -r1.13 thunk3.C
    1.16 +--- gcc-ss-3_3-20030714/gcc/testsuite/g++.old-deja/g++.jason/thunk3.C.old	25 Mar 2002 17:57:03 -0000	1.13
    1.17 ++++ gcc-ss-3_3-20030714/gcc/testsuite/g++.old-deja/g++.jason/thunk3.C	20 Jul 2003 16:57:38 -0000
    1.18 +@@ -2,7 +2,7 @@
    1.19 + // Note that this will break on any target that uses the generic thunk
    1.20 + //  support, because it doesn't support variadic functions.
    1.21 + 
    1.22 +-// excess errors test - XFAIL mips*-*-* rs6000-*-* powerpc-*-eabi m68k-*-coff m68k-motorola-sysv m88k-motorola-sysv3  mn10300-*-* mn10200-*-* v850-*-* sh-*-* sh64-*-* h8*-*-* xtensa-*-*
    1.23 ++// excess errors test - XFAIL mips*-*-* rs6000-*-* powerpc-*-eabi m68k-*-coff m68k-motorola-sysv m88k-motorola-sysv3  mn10300-*-* mn10200-*-* v850-*-* sh*-*-* h8*-*-* xtensa-*-*
    1.24 + 
    1.25 + #include <stdarg.h>
    1.26 +