public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* c++/10432: [3.2/3.3/3.4 regression] ICE in poplevel, at cp/decl.c:1230
@ 2003-04-18 16:36 bangerth
  0 siblings, 0 replies; only message in thread
From: bangerth @ 2003-04-18 16:36 UTC (permalink / raw)
  To: gcc-gnats


>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:


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-04-18 16:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-04-18 16:36 c++/10432: [3.2/3.3/3.4 regression] ICE in poplevel, at cp/decl.c:1230 bangerth

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).