[Bug c++/33094] [4.2/4.3 Regression] ICE on valid C++ virtual template static member in anonymous namespace
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Fri Aug 17 09:29:00 GMT 2007
------- 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
More information about the Gcc-bugs
mailing list