patches/gcc/3.3.1/thunk3.patch
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Sat Feb 24 11:00:05 2007 +0000 (2007-02-24)
changeset 1 eeea35fbf182
permissions -rw-r--r--
Add the full crosstool-NG sources to the new repository of its own.
You might just say: 'Yeah! crosstool-NG's got its own repo!".
Unfortunately, that's because the previous repo got damaged beyond repair and I had no backup.
That means I'm putting backups in place in the afternoon.
That also means we've lost history... :-(
yann@1
     1
Fixes 
yann@1
     2
FAIL: g++.jason/thunk3.C (test for excess errors)
yann@1
     3
on sh4-unknown-linux-gnu.
yann@1
     4
yann@1
     5
Does any sh variant *not* use the generic thunk support?  If so, the patch should be
yann@1
     6
more cautious.  As it is, it excludes all sh processors from this test.
yann@1
     7
yann@1
     8
Index: thunk3.C
yann@1
     9
===================================================================
yann@1
    10
RCS file: /cvsroot/gcc/gcc/gcc/testsuite/g++.old-deja/g++.jason/thunk3.C,v
yann@1
    11
retrieving revision 1.13
yann@1
    12
diff -u -d -u -r1.13 thunk3.C
yann@1
    13
--- gcc-ss-3_3-20030714/gcc/testsuite/g++.old-deja/g++.jason/thunk3.C.old	25 Mar 2002 17:57:03 -0000	1.13
yann@1
    14
+++ gcc-ss-3_3-20030714/gcc/testsuite/g++.old-deja/g++.jason/thunk3.C	20 Jul 2003 16:57:38 -0000
yann@1
    15
@@ -2,7 +2,7 @@
yann@1
    16
 // Note that this will break on any target that uses the generic thunk
yann@1
    17
 //  support, because it doesn't support variadic functions.
yann@1
    18
 
yann@1
    19
-// excess errors test - XFAIL mips*-*-* rs6000-*-* powerpc-*-eabi m68k-*-coff m68k-motorola-sysv m88k-motorola-sysv3  mn10300-*-* mn10200-*-* v850-*-* sh-*-* sh64-*-* h8*-*-* xtensa-*-*
yann@1
    20
+// excess errors test - XFAIL mips*-*-* rs6000-*-* powerpc-*-eabi m68k-*-coff m68k-motorola-sysv m88k-motorola-sysv3  mn10300-*-* mn10200-*-* v850-*-* sh*-*-* h8*-*-* xtensa-*-*
yann@1
    21
 
yann@1
    22
 #include <stdarg.h>
yann@1
    23