10432 – [3.3/3.4 regression] ICE in poplevel, at cp/decl.c:1230 (original) (raw)
Description Wolfgang Bangerth 2003-04-18 16:36:00 UTC
This ICEs:
struct INCOMPLETE; template struct X { static INCOMPLETE value; }; template <> INCOMPLETE X<1>::value = 0;
mortar/laplace> /home/bangerth/bin/gcc-3.4-pre/bin/c++ -c x.cc x.cc:5: error: variable `INCOMPLETE X<1>::value' has initializer but incomplete type x.cc:5: internal compiler error: in poplevel, at cp/decl.c:1230
It ICEs since 3.0, but didn't before. Looks like just another error recovery problem.
W.
Release: unknown
Environment: 3.2, 3.3 and mainline