From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14683 invoked by alias); 2 Jun 2015 13:04:20 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 14624 invoked by uid 89); 2 Jun 2015 13:04:20 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-3.1 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY,SPF_HELO_PASS,T_RP_MATCHES_RCVD autolearn=no version=3.3.2 X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Tue, 02 Jun 2015 13:04:17 +0000 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (Postfix) with ESMTPS id F2966358A10; Tue, 2 Jun 2015 13:04:15 +0000 (UTC) Received: from [10.10.116.39] ([10.10.116.39]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id t52D4F1f008665; Tue, 2 Jun 2015 09:04:15 -0400 Message-ID: <556DA9CC.7010004@redhat.com> Date: Tue, 02 Jun 2015 13:11:00 -0000 From: Jason Merrill User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: Uros Bizjak , "gcc-patches@gcc.gnu.org" Subject: Re: C++ PATCH for c++/44282 (ia32 calling convention attributes and mangling) References: In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2015-06/txt/msg00195.txt.bz2 On 06/02/2015 07:34 AM, Uros Bizjak wrote: >> Unfortunately, something is wrong with the testcase itself: >> >> FAIL: g++.dg/abi/mangle-regparm.C -std=c++98 (test for excess errors) >> WARNING: g++.dg/abi/mangle-regparm.C -std=c++98 compilation failed to >> produce executable >> FAIL: g++.dg/abi/mangle-regparm.C -std=c++11 (test for excess errors) >> WARNING: g++.dg/abi/mangle-regparm.C -std=c++11 compilation failed to >> produce executable >> FAIL: g++.dg/abi/mangle-regparm.C -std=c++14 (test for excess errors) >> WARNING: g++.dg/abi/mangle-regparm.C -std=c++14 compilation failed to >> produce executable >> >> with the following error: >> >> FAIL: g++.dg/abi/mangle-regparm.C -std=c++98 (test for excess errors) >> Excess errors: >> /usr/bin/ld: /tmp/ccU8LttY.o: bad reloc symbol index (0x5b550 >= 0x12) >> for offset 0x6c in section `.text' >> /tmp/ccU8LttY.o: could not read symbols: Bad value >> >> WARNING: g++.dg/abi/mangle-regparm.C -std=c++98 compilation failed to >> produce executable >> g++.dg/abi/mangle-regparm.C -std=c++98 : output file does not exist >> UNRESOLVED: g++.dg/abi/mangle-regparm.C -std=c++98 scan-assembler >> _Z18IndirectExternCallIPU7stdcallU7regparmILi3EEFviiEiEvT_T0_S3_ > > FYI, everything links and runs OK if .set is removed from the > following part of the asm: > > .LFE4: > .size _Z18IndirectExternCallIPU7stdcallU7regparmILi3EEFviiEiEvT_T0_S3_, > .-_Z18IndirectExternCallIPU7stdcallU7regparmILi3EEFviiEiEvT_T0_S3_ > .weak _Z18IndirectExternCallIPFviiEiEvT_T0_S3_ > .set _Z18IndirectExternCallIPFviiEiEvT_T0_S3_,_Z18IndirectExternCallIPU7stdcallU7regparmILi3EEFviiEiEvT_T0_S3_ > .section > .text._Z18IndirectExternCallIPFviiEiEvT_T0_S3_,"axG",@progbits,_Z18IndirectExternCallIPFviiEiEvT_T0_S3_,comdat > .weak _Z18IndirectExternCallIPFviiEiEvT_T0_S3_ > .type _Z18IndirectExternCallIPFviiEiEvT_T0_S3_, @function > _Z18IndirectExternCallIPFviiEiEvT_T0_S3_: Ugh, I thought I had dealt with that issue. Looking... Jason