This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug debug/12267] [3.4 regression] function-at-a-time generates stabs in bad order
- From: "mec at shout dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 1 Dec 2003 19:07:36 -0000
- Subject: [Bug debug/12267] [3.4 regression] function-at-a-time generates stabs in bad order
- References: <20030912184752.12267.mec@shout.net>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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 <zack@codesourcery.com>
* 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 <zack@codesourcery.com>
* 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