public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* c++/10793: [3.4 regression] ICE (treecheck) when partial-specializing with an invalid type and a base class, in xref_basetypes, at cp/decl.c:12834
@ 2003-05-14 23:26 giovannibajo
  0 siblings, 0 replies; 2+ messages in thread
From: giovannibajo @ 2003-05-14 23:26 UTC (permalink / raw)
  To: gcc-gnats


>Number:         10793
>Category:       c++
>Synopsis:       [3.4 regression] ICE (treecheck) when partial-specializing with an invalid type and a base class, in xref_basetypes, at cp/decl.c:12834
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          ice-on-illegal-code
>Submitter-Id:   net
>Arrival-Date:   Wed May 14 23:26:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     Giovanni Bajo
>Release:        3.4 CVS 20030503
>Organization:
>Environment:
i686-pc-cygwin
>Description:
This comes from Christian's analysys of c++/10722 (which is
a fallout from c++/10661):

----------------------------------------------
template <class P> struct spec_object_traits {};
template <class P, class Q> struct pair {};

template <typename T1>
struct spec_object_traits< pair<T1, INVALID> > :
   spec_object_traits<T1> { };
----------------------------------------------
gccbug6.cpp:4: error: `INVALID' has not been declared
gccbug6.cpp:4: error: template argument 2 is invalid
gccbug6.cpp:4: error: template argument 1 is invalid
gccbug6.cpp:5: internal compiler error: tree check: expected class 't', have 'x' (error_mark) in xref_basetypes, at cp/decl.c:12834
Please submit a full bug report,
>How-To-Repeat:
Compile the above snippet
>Fix:

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


^ permalink raw reply	[flat|nested] 2+ messages in thread
* Re: c++/10793: [3.4 regression] ICE (treecheck) when partial-specializing with an invalid type and a base class, in xref_basetypes, at cp/decl.c:12834
@ 2003-05-18 10:29 lerdsuwa
  0 siblings, 0 replies; 2+ messages in thread
From: lerdsuwa @ 2003-05-18 10:29 UTC (permalink / raw)
  To: gcc-bugs, gcc-prs, giovannibajo, nobody

Synopsis: [3.4 regression] ICE (treecheck) when partial-specializing with an invalid type and a base class, in xref_basetypes, at cp/decl.c:12834

State-Changed-From-To: open->analyzed
State-Changed-By: lerdsuwa
State-Changed-When: Sun May 18 10:29:39 2003
State-Changed-Why:
    Confirmed.

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


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

end of thread, other threads:[~2003-05-18 10:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-05-14 23:26 c++/10793: [3.4 regression] ICE (treecheck) when partial-specializing with an invalid type and a base class, in xref_basetypes, at cp/decl.c:12834 giovannibajo
2003-05-18 10:29 lerdsuwa

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