public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: c++/10553: [3.4 regression] ICE with undefined template parameter
@ 2003-05-03 12:04 lerdsuwa
  0 siblings, 0 replies; 3+ messages in thread
From: lerdsuwa @ 2003-05-03 12:04 UTC (permalink / raw)
  To: gcc-bugs, gcc-prs, lerdsuwa, nobody, reichelt

Synopsis: [3.4 regression] ICE with undefined template parameter

Responsible-Changed-From-To: unassigned->lerdsuwa
Responsible-Changed-By: lerdsuwa
Responsible-Changed-When: Sat May  3 12:04:17 2003
Responsible-Changed-Why:
    Fixed in the main trunk.
State-Changed-From-To: analyzed->closed
State-Changed-By: lerdsuwa
State-Changed-When: Sat May  3 12:04:17 2003
State-Changed-Why:
    Fixed in the main trunk.

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


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

* Re: c++/10553: [3.4 regression] ICE with undefined template parameter
@ 2003-04-29 19:58 bangerth
  0 siblings, 0 replies; 3+ messages in thread
From: bangerth @ 2003-04-29 19:58 UTC (permalink / raw)
  To: gcc-bugs, gcc-prs, nobody, reichelt

Synopsis: [3.4 regression] ICE with undefined template parameter

State-Changed-From-To: open->analyzed
State-Changed-By: bangerth
State-Changed-When: Tue Apr 29 19:58:05 2003
State-Changed-Why:
    Confirmed. An ICE after error.

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


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

* c++/10553: [3.4 regression] ICE with undefined template parameter
@ 2003-04-29 19:46 reichelt
  0 siblings, 0 replies; 3+ messages in thread
From: reichelt @ 2003-04-29 19:46 UTC (permalink / raw)
  To: gcc-gnats


>Number:         10553
>Category:       c++
>Synopsis:       [3.4 regression] ICE with undefined template parameter
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          ice-on-illegal-code
>Submitter-Id:   net
>Arrival-Date:   Tue Apr 29 19:46:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     Volker Reichelt
>Release:        gcc 3.4-20030402
>Organization:
>Environment:
i686-pc-linux-gnu
>Description:
Consider the following code snippet:

----------------------------snip here---------------------------------
template <typename> struct A {};

template <typename> struct B
{
    typedef A<typename X::Y> C;
};
----------------------------snip here---------------------------------

Compiling this with mainline I get:

PR8582B.cc:5: error: `X' is not a class-name or namespace-name
PR8582B.cc:5: internal compiler error: Segmentation fault
Please submit a full bug report, [etc.]

With gcc 3.2.3 or 3.3 branch I get:

PR8582B.cc:5: error: `X' is not a class or namespace
PR8582B.cc:5: error: `Y' is not a class or namespace
PR8582B.cc:5: error: `X' fails to be a typedef or built in type
PR8582B.cc:5: error: ISO C++ forbids declaration of `type name' with no type

So we have an ice-on-illegal-code (error recovery problem) on mainline
which is a regression w.r.t. 3.3 branch.
>How-To-Repeat:
g++ -c
>Fix:

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


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

end of thread, other threads:[~2003-05-03 12:04 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-05-03 12:04 c++/10553: [3.4 regression] ICE with undefined template parameter lerdsuwa
  -- strict thread matches above, loose matches on Subject: below --
2003-04-29 19:58 bangerth
2003-04-29 19:46 reichelt

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).