This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/24569] [4.0/4.1 regression] ICE in add_AT_specification, at dwarf2out.c:4966
- From: "jason at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 28 Oct 2005 23:38:37 -0000
- Subject: [Bug c++/24569] [4.0/4.1 regression] ICE in add_AT_specification, at dwarf2out.c:4966
- References: <bug-24569-102@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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