From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5972 invoked by alias); 15 May 2010 18:48:55 -0000 Received: (qmail 5829 invoked by uid 48); 15 May 2010 18:48:24 -0000 Date: Sat, 15 May 2010 18:48:00 -0000 Message-ID: <20100515184824.5828.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug bootstrap/44146] r159371 breaks bootstrap on x86_64-apple-darwin10 In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "howarth at nitro dot med dot uc dot edu" 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: 2010-05/txt/msg01662.txt.bz2 ------- Comment #10 from howarth at nitro dot med dot uc dot edu 2010-05-15 18:48 ------- Suppressed as by reverting r159371 with... diff -uNr gcc-4.6-20100514/gcc/varpool.c gcc-4.6-20100514.hubicka/gcc/varpool.c --- gcc-4.6-20100514/gcc/varpool.c 2010-05-14 19:37:24.000000000 -0400 +++ gcc-4.6-20100514.hubicka/gcc/varpool.c 2010-05-14 19:45:35.000000000 -0400 @@ -321,6 +321,13 @@ || node->force_output) return true; + /* ??? If the assembler name is set by hand, it is possible to assemble + the name later after finalizing the function and the fact is noticed + in assemble_name then. This is arguably a bug. */ + if (TARGET_MACHO && DECL_ASSEMBLER_NAME_SET_P (decl) + && TREE_SYMBOL_REFERENCED (DECL_ASSEMBLER_NAME (decl))) + return true; + /* Externally visible variables must be output. The exception is COMDAT variables that must be output only when they are needed. */ if (TREE_PUBLIC (decl) to reintroduce this for darwin only. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44146