This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: C++ PATCH: ABI bug for vcall offsets
- From: Mark Mitchell <mark at codesourcery dot com>
- To: John David Anglin <dave at hiauly1 dot hia dot nrc dot ca>
- Cc: "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>
- Date: Sun, 10 Nov 2002 18:19:18 -0800
- Subject: Re: C++ PATCH: ABI bug for vcall offsets
--On Saturday, November 09, 2002 06:18:41 PM -0500 John David Anglin
<dave@hiauly1.hia.nrc.ca> wrote:
I noticed today a new fail on hppa64-hp-hpux11.11, vthunk3.C. It fails
scan-assembler _ZTvn4_n20_N1E1bEv. This doesn't seem like the correct
symbol name to test for on a 64-bit target. I see _ZTvn8_n40_N1E1bEv or
Yes; I should have had an x86-only flag in there. Fixed with the attached
patch, applied on the mainline.
This might also be the reason why
FAIL: g++.dg/abi/vague1.C scan-assembler-not _ZN1AIiE1tE
No; that looks like something different to me.
--
Mark Mitchell mark@codesourcery.com
CodeSourcery, LLC http://www.codesourcery.com
2002-11-10 Mark Mitchell <mark@codesourcery.com>
* g++.dg/abi/vthunk3.C: Run only on x86.
Index: vthunk3.C
===================================================================
RCS file: /cvs/gcc/gcc/gcc/testsuite/g++.dg/abi/vthunk3.C,v
retrieving revision 1.1
retrieving revision 1.2
diff -c -5 -p -r1.1 -r1.2
*** vthunk3.C 8 Nov 2002 02:16:48 -0000 1.1
--- vthunk3.C 11 Nov 2002 02:20:37 -0000 1.2
***************
*** 1,6 ****
! // { dg-do compile }
// { dg-options "-fabi-version=0" }
struct A {
virtual void a ();
};
--- 1,6 ----
! // { dg-do compile { target i?86-*-* } }
// { dg-options "-fabi-version=0" }
struct A {
virtual void a ();
};