c++/10432: [3.2/3.3/3.4 regression] ICE in poplevel, at cp/decl.c:1230
bangerth@dealii.org
bangerth@dealii.org
Fri Apr 18 16:36:00 GMT 2003
>Number: 10432
>Category: c++
>Synopsis: [3.2/3.3/3.4 regression] ICE in poplevel, at cp/decl.c:1230
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: ice-on-illegal-code
>Submitter-Id: net
>Arrival-Date: Fri Apr 18 16:36:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator: Wolfgang Bangerth
>Release: unknown-1.0
>Organization:
>Environment:
3.2, 3.3 and mainline
>Description:
This ICEs:
----------------------
struct INCOMPLETE;
template <int> 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.
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the Gcc-bugs
mailing list