From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5274 invoked by alias); 3 May 2007 19:14:46 -0000 Received: (qmail 5251 invoked by uid 48); 3 May 2007 19:14:34 -0000 Date: Thu, 03 May 2007 19:14:00 -0000 Message-ID: <20070503191434.5250.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug c/31537] duplicate weakref emitted with IMA In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "geoffk at gcc dot gnu dot org" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2007-05/txt/msg00279.txt.bz2 ------- Comment #4 from geoffk at gcc dot gnu dot org 2007-05-03 20:14 ------- The following testcase should be equivalent to the original one but not involve IMA: void f1() { static __gthrw_pthread_once __attribute__ ((__weakref__ ("pthread_once"))); } void f2() { static __gthrw_pthread_once __attribute__ ((__weakref__ ("pthread_once"))); } -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31537