------- 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  <[EMAIL PROTECTED]>

        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

Reply via email to