public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* c++/10310: [3.4 regression] [parser] ICE on illegal use of template keyword
@ 2003-04-04 15:06 reichelt
  0 siblings, 0 replies; 2+ messages in thread
From: reichelt @ 2003-04-04 15:06 UTC (permalink / raw)
  To: gcc-gnats


>Number:         10310
>Category:       c++
>Synopsis:       [3.4 regression] [parser] ICE on illegal use of template keyword
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          ice-on-illegal-code
>Submitter-Id:   net
>Arrival-Date:   Fri Apr 04 15:06:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     Volker Reichelt
>Release:        gcc 3.4 20030402
>Organization:
>Environment:
i686-pc-linux-gnu
>Description:
Compiling the following line of code with mainline g++ I get an ICE

---------------------snip here-----------------
template void operator<<(int, foo<int>);
---------------------snip here-----------------

bug.cpp:1: error: declaration of `operator<<' as non-function
bug.cpp:1: internal compiler error: tree check: expected class 'd', have 't' (
   void_type) in do_decl_instantiation, at cp/pt.c:10324
Please submit a full bug report, [etc.]

So it's actually an error recovery problem, but nevertheless
a regression, since I don't get the ICE with the 3.2 or 3.3 branch.

(BTW, all compilers were configured with --enable-checking)
>How-To-Repeat:

>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: c++/10310: [3.4 regression] [parser] ICE on illegal use of template keyword
@ 2003-04-04 17:35 bangerth
  0 siblings, 0 replies; 2+ messages in thread
From: bangerth @ 2003-04-04 17:35 UTC (permalink / raw)
  To: gcc-bugs, gcc-prs, nobody, reichelt

Synopsis: [3.4 regression] [parser] ICE on illegal use of template keyword

State-Changed-From-To: open->analyzed
State-Changed-By: bangerth
State-Changed-When: Fri Apr  4 17:35:00 2003
State-Changed-Why:
    Confirmed. A regression

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=10310


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-04-04 17:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-04-04 15:06 c++/10310: [3.4 regression] [parser] ICE on illegal use of template keyword reichelt
2003-04-04 17:35 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).