public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: c++/3761: [2003-01-02] Template instantiation
@ 2003-04-30 12:56 Giovanni Bajo
0 siblings, 0 replies; only message in thread
From: Giovanni Bajo @ 2003-04-30 12:56 UTC (permalink / raw)
To: lerdsuwa; +Cc: gcc-prs
The following reply was made to PR c++/3761; it has been noted by GNATS.
From: "Giovanni Bajo" <giovannibajo@libero.it>
To: <gcc-gnats@gcc.gnu.org>,
<gcc-bugs@gcc.gnu.org>,
<nobody@gcc.gnu.org>,
<gcc-prs@gcc.gnu.org>,
<francis.andre@easynet.fr>
Cc:
Subject: Re: c++/3761: [2003-01-02] Template instantiation
Date: Wed, 30 Apr 2003 14:46:10 +0200
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=3761
Reduced snippet:
-------------------------------------------------
struct A
{
enum E1 {};
};
struct B
{
enum E2 {};
};
template <class T>
struct Foo : A,B
{
void func(void);
struct Nested
{
friend void Foo::func(void);
};
};
-------------------------------------------------
pr3761.cpp:19: internal compiler error: tree check: expected class 'd', have
'x' (tree_list) in check_template_shadow, at cp/pt.c:2013
Please submit a full bug report,
This ICEs GCC since at least 2.95. Confirmed up to 3.4 20030430.
Giovanni Bajo
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2003-04-30 12:56 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-04-30 12:56 c++/3761: [2003-01-02] Template instantiation 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).