From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17500 invoked by alias); 28 May 2014 21:44:43 -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 17491 invoked by uid 89); 28 May 2014 21:44:42 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.4 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-ve0-f182.google.com Received: from mail-ve0-f182.google.com (HELO mail-ve0-f182.google.com) (209.85.128.182) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Wed, 28 May 2014 21:44:41 +0000 Received: by mail-ve0-f182.google.com with SMTP id sa20so13348842veb.13 for ; Wed, 28 May 2014 14:44:39 -0700 (PDT) MIME-Version: 1.0 X-Received: by 10.221.7.71 with SMTP id on7mr2863522vcb.18.1401313479341; Wed, 28 May 2014 14:44:39 -0700 (PDT) Received: by 10.220.11.5 with HTTP; Wed, 28 May 2014 14:44:39 -0700 (PDT) Date: Wed, 28 May 2014 21:44:00 -0000 Message-ID: Subject: Re: ipa-visibility TLC 2/n From: David Edelsohn To: Jan Hubicka Cc: GCC Patches , Richard Henderson , ramrad01@arm.com Content-Type: text/plain; charset=UTF-8 X-SW-Source: 2014-05/txt/msg02487.txt.bz2 Honza, I'm glad that you're making progress. > David, this looks like a bug in the AIX target output macros. I get: > .set _ZTCSt14basic_ifstreamIcSt11char_traitsIcEE0_Si.localalias.69,_ZTCSt14basic_ifstreamIcSt11char_traitsIcEE0_Si > (this is correct since localalias is really an alias) > _ZTCSt14basic_ifstreamIcSt11char_traitsIcEE0_Si.localalias.69: > .space 40 > _ZTCSt14basic_ifstreamIcSt11char_traitsIcEE0_Si: ... > This is wrong, since we should not try to out the variable at least if I read AIX assembly correctly. > varpool has explicit test to not output any aliases, so perhaps this is a bug in wrapup_globals > and AIX output macros. I will try to track more after my teaching tonight. The AIX support handles AIX XCOFF assembler syntax and chooses appropriate sections, but it would not choose to emit an extra definition. If there are multiple definitions, then the varasm macros are being invoked multiple times for the same symbol. Thanks, David