[Bug debug/14079] [3.3/3.4/3.5 Regression] wrong debug info for extern boolean variable in debug mode
mmitchel at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Tue Mar 2 02:31:00 GMT 2004
------- Additional Comments From mmitchel at gcc dot gnu dot org 2004-03-02 02:31 -------
Matt, this is coming from your static_decls optimization. The problem is that
the variable in question is not ending up on the static_decls list when it is
first declared "extern". It looks like your change works by adding things to
static_decls in add_decl_to_level. I think that either you need to add "extern"
variables as well, or you need to notice the definition in duplicate_decls and
go back and fix up the static_decls list.
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |austern at apple dot com
AssignedTo|unassigned at gcc dot gnu |austern at apple dot com
|dot org |
Status|NEW |ASSIGNED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14079
More information about the Gcc-bugs
mailing list