From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16067 invoked by alias); 15 Feb 2010 21:52:00 -0000 Received: (qmail 16030 invoked by uid 48); 15 Feb 2010 21:51:50 -0000 Date: Mon, 15 Feb 2010 21:52:00 -0000 Message-ID: <20100215215150.16029.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug objc/43061] 47 new GCC HEAD@156527 regressions In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "developer at sandoe-acoustics dot co dot uk" 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-02/txt/msg01452.txt.bz2 ------- Comment #27 from developer at sandoe-acoustics dot co dot uk 2010-02-15 21:51 ------- (In reply to comment #26) > Addressability is recomputed several times. What you probably want is mark the > decl with the used attribute (i.e. add "used" attribute to it, set TREE_USED > (decl) = 1 and DECL_PRESERVE_P (decl) = 1). finish_var_decl() contains: mark_decl_referenced(var); - although this doesn't do anything for csts. and TREE_USED (var) = 1; adding DECL_PRESERVE_P (decl) = 1 doesn't solve the problem either.. I'll have to dig deeper into what's actually happening/required. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43061