From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29311 invoked by alias); 30 May 2010 12:25:22 -0000 Received: (qmail 29006 invoked by uid 48); 30 May 2010 12:25:01 -0000 Date: Sun, 30 May 2010 12:25:00 -0000 Message-ID: <20100530122501.29005.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug objc/44140] ObjC lto/whopr fails In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "iains 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: 2010-05/txt/msg03263.txt.bz2 ------- Comment #13 from iains at gcc dot gnu dot org 2010-05-30 12:25 ------- In a bid to remove cases where the FE is bypassing varpool/cgraph and going directly to asm.... I've replaced the (2) instances of mark_decl_referenced () with DECL_PRESERVE_P () =1 (Honza's suggestion) I've removed the code in handle_class_ref () entirely [via an intermediate step where I got it to emit code without using the asm def]. I've removed the code that outputs a class ref in handle_impent () [also via n intermediate step]. none of these actions makes any difference to the testsuite results, nor to the failure with -flto. Adding Mike .. HJ - would you prefer this to be closed and for me to open a new bug to track the real issue? -- iains at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mrs at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44140