From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26295 invoked by alias); 25 Aug 2008 20:25:12 -0000 Received: (qmail 25827 invoked by uid 48); 25 Aug 2008 20:23:51 -0000 Date: Mon, 25 Aug 2008 20:25:00 -0000 Message-ID: <20080825202351.25826.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug middle-end/37170] [4.4 Regression]: gcc.dg/weak/weak-1.c In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "dominiq at lps dot ens dot fr" 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: 2008-08/txt/msg01944.txt.bz2 ------- Comment #52 from dominiq at lps dot ens dot fr 2008-08-25 20:23 ------- While we are at the "weak" arcanes on Darwin, we have also the following since at least revision 136913 (revision 136903 seems the most likely candidate, the others being 136899, 136905, and 136912): FAIL: g++.dg/abi/key2.C scan-assembler .globl __ZTI1f\\\\n\\t.weak_definition __ZTI1f\\\\n\\t.section __DATA,__const_coal,coalesced The corresponding part of the assembly code reads: 42 - .long __ZN1f1hEv 43 - .globl __ZTI1f 44 : .weak_definition __ZTI1f 45 + .align 2 46 + __ZTI1f: If one can shot two birds with one stone, this will be nice. Otherwise I'll fill another PR. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37170