From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23251 invoked by alias); 25 Jul 2006 17:09:04 -0000 Received: (qmail 22202 invoked by alias); 25 Jul 2006 17:08:18 -0000 Date: Tue, 25 Jul 2006 17:09:00 -0000 Message-ID: <20060725170818.22198.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug debug/27574] [4.1 Regression] MIssing debug info at -O0 for a local variable in a C++ constructor In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "joern dot rennecke at st dot com" 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-07/txt/msg01946.txt.bz2 List-Id: ------- Comment #8 from joern dot rennecke at st dot com 2006-07-25 17:08 ------- Subject: Re: [4.1 Regression] MIssing debug info at -O0 for a local variable in a C++ constructor drow at false dot org wrote: >------- Comment #7 from drow at gcc dot gnu dot org 2006-07-25 13:27 ------- >Subject: Re: [4.1 Regression] MIssing debug info at -O0 for a local variable >in a C++ constructor > >On Tue, Jul 25, 2006 at 12:14:46PM -0000, amylaar at gcc dot gnu dot org wrote: > > >>If this is fixed on mainline, the fix must be rather recent; I see this still >>failing with >>r115417: GNU C++ version 4.2.0 20060713 (experimental). >>What is the oldest gcc 4.2 version where you saw this work? >> >> > >I tested it on HEAD on the day I posted (2006-07-22). Could you check >whether that works for you, or it's something environmental? > > When I compile the testcase (using -g -O0) with a cc1plus built from todays sources (r115734), a test search for "problem" in the .s file comes up empty. OTOH, both a native and a cross build eventually failed. Can you find out the exact version of gcc that you tested? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27574