public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: c++/10576: [3.3/3.4 regression] ICE in error recovery with a wrong template parameter default and a specialization
@ 2003-05-07 15:03 lerdsuwa
  0 siblings, 0 replies; 4+ messages in thread
From: lerdsuwa @ 2003-05-07 15:03 UTC (permalink / raw)
  To: gcc-bugs, gcc-prs, giovannibajo, lerdsuwa, nobody

Synopsis: [3.3/3.4 regression] ICE in error recovery with a wrong template parameter default and a specialization

Responsible-Changed-From-To: unassigned->lerdsuwa
Responsible-Changed-By: lerdsuwa
Responsible-Changed-When: Wed May  7 15:03:08 2003
Responsible-Changed-Why:
    Fixing.

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


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

* Re: c++/10576: [3.3/3.4 regression] ICE in error recovery with a wrong template parameter default and a specialization
@ 2003-05-09 15:12 lerdsuwa
  0 siblings, 0 replies; 4+ messages in thread
From: lerdsuwa @ 2003-05-09 15:12 UTC (permalink / raw)
  To: gcc-bugs, gcc-prs, giovannibajo, lerdsuwa

Synopsis: [3.3/3.4 regression] ICE in error recovery with a wrong template parameter default and a specialization

State-Changed-From-To: analyzed->closed
State-Changed-By: lerdsuwa
State-Changed-When: Fri May  9 15:12:27 2003
State-Changed-Why:
    Fixed in the main trunk.  It's not a regression, earlier versions of GCC display 'confused by earlier errors, bailing out' message rather than 'internal compiler error'.

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


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

* Re: c++/10576: [3.3/3.4 regression] ICE in error recovery with a wrong template parameter default and a specialization
@ 2003-05-01 13:31 bangerth
  0 siblings, 0 replies; 4+ messages in thread
From: bangerth @ 2003-05-01 13:31 UTC (permalink / raw)
  To: gcc-bugs, gcc-prs, giovannibajo, nobody

Synopsis: [3.3/3.4 regression] ICE in error recovery with a wrong template parameter default and a specialization

State-Changed-From-To: open->analyzed
State-Changed-By: bangerth
State-Changed-When: Thu May  1 13:31:38 2003
State-Changed-Why:
    Correct. The ICE was introduced between 2.95 and 3.0

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


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

* c++/10576: [3.3/3.4 regression] ICE in error recovery with a wrong template parameter default and a specialization
@ 2003-05-01  0:26 giovannibajo
  0 siblings, 0 replies; 4+ messages in thread
From: giovannibajo @ 2003-05-01  0:26 UTC (permalink / raw)
  To: gcc-gnats


>Number:         10576
>Category:       c++
>Synopsis:       [3.3/3.4 regression] ICE in error recovery with a wrong template parameter default and a specialization
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          ice-on-illegal-code
>Submitter-Id:   net
>Arrival-Date:   Thu May 01 00:26:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     Giovanni Bajo
>Release:        unknown-1.0
>Organization:
>Environment:
i686-pc-cygwin
>Description:
While playing with c++/10574, I found this regression:

----------------------------
template <typename>
struct A
{
    template <typename T = INVALID>
    struct C
    {
        typename T::x y;
    };

    template <>
    struct C<int> {};
};

A<int>::C<> a;
----------------------------
gccbug2.cpp:4: error: expected type-name
gccbug2.cpp:4: error: expected type-name
gccbug2.cpp:10: error: invalid explicit specialization
gccbug2.cpp:14: error: template argument 1 is invalid
gccbug2.cpp:14: internal compiler error: tree check: expected tree_vec, have error_mark in check_instantiated_args, at cp/pt.c:8401
Please submit a full bug report,


This is a regression wrt 2.95 where the compiler was not ICE-ing.
>How-To-Repeat:
Compile the above code
>Fix:

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


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

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

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-05-07 15:03 c++/10576: [3.3/3.4 regression] ICE in error recovery with a wrong template parameter default and a specialization lerdsuwa
  -- strict thread matches above, loose matches on Subject: below --
2003-05-09 15:12 lerdsuwa
2003-05-01 13:31 bangerth
2003-05-01  0:26 giovannibajo

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