[Bug c++/24569] [4.0/4.1 regression] ICE in add_AT_specification, at dwarf2out.c:4966
jason at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Fri Oct 28 23:38:00 GMT 2005
------- Comment #4 from jason at gcc dot gnu dot org 2005-10-28 23:38 -------
Yes, this was introduced by
2005-10-10 Mark Mitchell <mark@codesourcery.com>
PR c++/24277
* pt.c (instantiate_decl): Call finish_static_data_member_decl for
static data members.
After this change, we call that function twice for static data members, once
when instantiating the class and again when instantiating the member itself.
As a result, the member gets added to pending_statics twice.
I think we only want to call finish_static_data_member_decl once per static
data member.
--
jason at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|jason at gcc dot gnu dot org|mmitchel at gcc dot gnu dot
| |org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24569
More information about the Gcc-bugs
mailing list