From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9153 invoked by alias); 11 Feb 2010 16:43:01 -0000 Received: (qmail 9103 invoked by uid 48); 11 Feb 2010 16:42:44 -0000 Date: Thu, 11 Feb 2010 16:43:00 -0000 Message-ID: <20100211164244.9102.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug lto/43038] DECL_PRESERVE_P static globals not completely preserved with -flto In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "baldrick 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-02/txt/msg01079.txt.bz2 ------- Comment #2 from baldrick at gcc dot gnu dot org 2010-02-11 16:42 ------- Sorry, small bug in the testcase, should have been: extern const char LinkVar; __attribute__((used)) static const char *const LinkObj = &LinkVar; -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43038