------- Additional Comments From pinskia at gcc dot gnu dot org 2005-03-06 23:49 ------- Confirmed, reduced testcase: struct a { int i, j; }; template <int i> struct mutex_tct { static a S_mutex; }; template <int i> a mutex_tct<i>::S_mutex = {0,1}; template <> extern a mutex_tct<0>::S_mutex; template <> a mutex_tct<0>::S_mutex = {0,1}; void g() { mutex_tct<0>::S_mutex.i = 0; }
-- What |Removed |Added ---------------------------------------------------------------------------- CC| |pinskia at gcc dot gnu dot | |org Severity|normal |critical Status|UNCONFIRMED |NEW Ever Confirmed| |1 Keywords| |ice-on-valid-code Last reconfirmed|0000-00-00 00:00:00 |2005-03-06 23:49:41 date| | Summary|4.0 and higher: ICE |[4.0/4.1 Regression] extern | |template and struct | |initializer and | |specification for a static | |variable Target Milestone|--- |4.0.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20350