------- Comment #1 from pinskia at gcc dot gnu dot org  2007-08-17 09:29 -------
      /* An in-class declaration of a static data member should be
         external; it is only a declaration, and not a definition.  */
      if (init == NULL_TREE)
        gcc_assert (DECL_EXTERNAL (decl));


Confirmed.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
           Keywords|                            |ice-on-valid-code
   Last reconfirmed|0000-00-00 00:00:00         |2007-08-17 09:29:10
               date|                            |
            Summary|ICE on valid C++ virtual    |[4.2/4.3 Regression] ICE on
                   |template static member in   |valid C++ virtual template
                   |namespace                   |static member in anonymous
                   |                            |namespace
   Target Milestone|---                         |4.2.2


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

Reply via email to