From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21348 invoked by alias); 15 Oct 2006 22:33:24 -0000 Received: (qmail 21324 invoked by alias); 15 Oct 2006 22:33:17 -0000 Date: Sun, 15 Oct 2006 22:33:00 -0000 Message-ID: <20061015223317.21323.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug middle-end/29299] [4.2 Regression] gcc "used" attribute has no effect on local-scope static variables In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "hubicka at ucw dot cz" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2006-10/txt/msg01315.txt.bz2 List-Id: ------- Comment #9 from hubicka at ucw dot cz 2006-10-15 22:33 ------- Subject: Re: [4.2 Regresion] gcc "used" attribute has no effect on local-scope static variables > Reopening because it is not fixed for non unit at a time mode (-O0 for C). -O0 gets it right, just -O1 -fno-unit-at-a-time fails, but I am testing patch for this already. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29299