public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: c++/10108: [3.4 regression] Error recovering problem: tree checking ICE: expected var_decl, have error_mark in tsubst_decl
@ 2003-05-07 11:06 Giovanni Bajo
  0 siblings, 0 replies; only message in thread
From: Giovanni Bajo @ 2003-05-07 11:06 UTC (permalink / raw)
  To: nobody; +Cc: gcc-prs

The following reply was made to PR c++/10108; it has been noted by GNATS.

From: "Giovanni Bajo" <giovannibajo@libero.it>
To: <gcc-gnats@gcc.gnu.org>,
	<gcc-bugs@gcc.gnu.org>,
	<nagano3@pop02.odn.ne.jp>,
	<nobody@gcc.gnu.org>,
	<gcc-prs@gcc.gnu.org>
Cc:  
Subject: Re: c++/10108: [3.4 regression] Error recovering problem: tree checking ICE: expected var_decl, have error_mark in tsubst_decl
Date: Wed, 7 May 2003 13:03:01 +0200

 http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=10108
 
 Reduced snippet is:
 
 ---------------------------------------------------------------
 template <class>
 struct Foo
 {};
 
 template <class T>
 struct Bar : public Foo<T>
 {
     typedef Foo<T> base;
     typedef typename base::NON_EXISTENT INVALID_TYPE;
 
     template <class Q>
     Bar(Q q, INVALID_TYPE a)
         : base(a)
     {}
 };
 
 template struct Bar<void>;
 ---------------------------------------------------------------
 pr10108.cpp: In instantiation of `Bar<void>':
 pr10108.cpp:17:   instantiated from here
 pr10108.cpp:9: error: no type named `NON_EXISTENT' in `struct Foo<void>'
 pr10108.cpp:13: error: no type named `NON_EXISTENT' in `struct Foo<void>'
 pr10108.cpp:13: internal compiler error: tree check: expected var_decl, have
    error_mark in tsubst_decl, at cp/pt.c:5957
 Please submit a full bug report,
 
 This is ICE on error recovery, confirmed with 3.4 CVS 20030503. The same
 preprocessed source also generates totally different ICE-on-illegal for 3.2
 branch and 3.3 branch. I isolated and reported the 3.3 branch failure in
 c++/10594.
 
 Giovanni Bajo
 


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

only message in thread, other threads:[~2003-05-07 11:06 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-05-07 11:06 c++/10108: [3.4 regression] Error recovering problem: tree checking ICE: expected var_decl, have error_mark in tsubst_decl Giovanni Bajo

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