[Bug c++/16792] [4.0 regression] ICE in gen_subprogram_die, at dwarf2out.c:11267

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Sun Jan 2 02:55:00 GMT 2005


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-01-02 02:55 -------
It was caused by this part of the patch:
        * name-lookup.c (pushdecl): When a local extern shadows a
        file-scope declaration of the same object, give both DECLs the
        same DECL_UID.

the two DECLs have the same UID so we get the same die but the decls are not connect any other way
so this is C++ front-end bug.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|debug                       |c++


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16792



More information about the Gcc-bugs mailing list