From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 700 invoked by alias); 11 Nov 2002 02:21:54 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 689 invoked from network); 11 Nov 2002 02:21:53 -0000 Received: from unknown (HELO localhost.localdomain) (66.60.148.227) by sources.redhat.com with SMTP; 11 Nov 2002 02:21:53 -0000 Received: from warlock.codesourcery.com (localhost.localdomain [127.0.0.1]) by localhost.localdomain (8.11.6/8.11.6) with ESMTP id gAB2JId01396; Sun, 10 Nov 2002 18:19:18 -0800 Date: Sun, 10 Nov 2002 18:21:00 -0000 From: Mark Mitchell To: John David Anglin cc: "gcc-patches@gcc.gnu.org" Subject: Re: C++ PATCH: ABI bug for vcall offsets Message-ID: <27300000.1036981158@warlock.codesourcery.com> In-Reply-To: <200211092318.gA9NIfIk003515@hiauly1.hia.nrc.ca> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-SW-Source: 2002-11/txt/msg00670.txt.bz2 --On Saturday, November 09, 2002 06:18:41 PM -0500 John David Anglin 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 * 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 (); };