This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH] fix for "FAIL: g++.jason/thunk3.C" in gcc testsuite
- From: Kazuhiro Inaoka <inaoka dot kazuhiro at renesas dot com>
- To: nickc at redhat dot com
- Cc: gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Thu, 19 May 2005 11:13:08 +0900
- Subject: [PATCH] fix for "FAIL: g++.jason/thunk3.C" in gcc testsuite
Hi Nick,
Fixes the following testcase failure on m32r-unkown-linux-gnu.
FAIL: g++.old-deja/g++.jason/thunk3.C (test for excess errors)
WARNING: g++.old-deja/g++.jason/thunk3.C compilation failed to produce
executable
M32R doesn't support variadic functions when it uses the generic thunk
support.
Please commit it into 3.4-branch, 4.0-branch and mainline.
Regards,
Kazuhiro Inaoka
gcc/testsuite/ChangeLog
2005-05-19 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
* g++.old-deja/g++.jason/thunk3.C: XFAIL on m32r*-*-*.
--- thunk3.C.org Thu May 19 11:45:00 2005
+++ thunk3.C Thu May 19 11:45:23 2005
@@ -1,4 +1,4 @@
-// { dg-do run { xfail rs6000-*-* powerpc-*-eabi m68k-*-coff mn10300-*-* v850-*-* sh-*-* sh64-*-* h8*-*-* xtensa-*-* } }
+// { dg-do run { xfail rs6000-*-* powerpc-*-eabi m68k-*-coff mn10300-*-* v850-*-* sh-*-* sh64-*-* h8*-*-* xtensa-*-* m32r*-*-* } }
// Test that variadic function calls using thunks work right.
// Note that this will break on any target that uses the generic thunk
// support, because it doesn't support variadic functions.