From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20481 invoked by alias); 30 Aug 2008 06:28:50 -0000 Received: (qmail 20309 invoked by uid 48); 30 Aug 2008 06:27:30 -0000 Date: Sat, 30 Aug 2008 06:28:00 -0000 Message-ID: <20080830062730.20308.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: "hp 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: 2008-08/txt/msg02422.txt.bz2 ------- Comment #71 from hp at gcc dot gnu dot org 2008-08-30 06:27 ------- Created an attachment (id=16169) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16169&action=view) Patch, take 6. Sigh. This just moves the TREE_STATIC check from the early-return to the weak-test, since it's wrong for *some* external declarations. It shouldn't matter for Darwin (which doesn't define ASM_OUTPUT_EXTERNAL, right?) but will fix the test-case for hppa2.0w-hp-hpux11.11, which BTW seems not to support weak. Test in progress, native and cris-elf as before. I'm thankful as always for any testing, this time particularly on hppa-hpux targets. -- hp at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #16146|0 |1 is obsolete| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37170