From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15251 invoked by alias); 1 Dec 2003 19:07:37 -0000 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 Received: (qmail 15233 invoked by uid 48); 1 Dec 2003 19:07:36 -0000 Date: Mon, 01 Dec 2003 19:07:00 -0000 Message-ID: <20031201190736.15232.qmail@sources.redhat.com> From: "mec at shout dot net" To: gcc-bugs@gcc.gnu.org In-Reply-To: <20030912184752.12267.mec@shout.net> References: <20030912184752.12267.mec@shout.net> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug debug/12267] [3.4 regression] function-at-a-time generates stabs in bad order X-Bugzilla-Reason: CC X-SW-Source: 2003-12/txt/msg00163.txt.bz2 List-Id: ------- Additional Comments From mec at shout dot net 2003-12-01 19:07 ------- I executed Wolfgang's suggestion and did a date search with -funit-at-a-time enabled. The bad .stabs line appeared between 2003-04-11 03:00:00 UTC and 2003-04-11 04:30 UTC (these times are on the subversions.gnu.org repository, cvsroot=:pserver:anoncvs:@subversions.gnu.org:/cvsroot/gcc). The patch which caused this is: 2003-04-10 Zack Weinberg * c-decl.c (struct binding_level): Add shadowed_tags and function_body; remove this_block, tag_transparent, and subblocks_tag_transparent; update comments. ... 2003-04-10 Zack Weinberg * c-tree.h (struct lang_identifier): Replace global_value, local_value members with symbol_value, tag_value. Kill implicit_decl and limbo_value. ... There are two ChangeLog entries here, but only one patch. There is some discussion here: http://gcc.gnu.org/ml/gcc-patches/2003-04/msg00766.html http://gcc.gnu.org/ml/gcc-patches/2003-04/msg00767.html In the followup to 00767, Neil Booth said: "I once tried to remove the extra contour, which gave a bootstrappable compiler but with screwy debug info IIRC. At that point I gave up.", and Zack said "I don't think the debug info is screwed by this ... I suppose we'll find out." Heh. I will attach a couple of generated assembly files from the compilers just before and after the regression. Michael C -- What |Removed |Added ---------------------------------------------------------------------------- CC| |zack at codesourcery dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12267