From mboxrd@z Thu Jan 1 00:00:00 1970 From: Reichelt To: nobody@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org Subject: Re: c++/3649 Date: Mon, 27 Aug 2001 03:06:00 -0000 Message-id: <20010827100601.10742.qmail@sourceware.cygnus.com> X-SW-Source: 2001-08/msg00674.html List-Id: The following reply was made to PR c++/3649; it has been noted by GNATS. From: Reichelt To: gcc-gnats@gcc.gnu.org, gcc-bugs@gcc.gnu.org, morandini@aero.polimi.it Cc: Subject: Re: c++/3649 Date: Mon, 27 Aug 2001 12:03:00 +0200 Hi, I tried to reduce the example that crashes the compiler and came up with the following code: template struct A { typedef int X; }; template struct B { typedef A Y; void f (Y::X); }; template struct C : public B { void g (Y::X); }; template class B; The code crashes gcc 3.0 as well as gcc 3.0.1 on my LINUX box. The original example also crashes an IRIX box with gcc 3.0 (so I assume it's a platform independant problem), but (unfortunately - yet not very surprisingly) that doesn't happen with this short example. I hope that helps. Greetings, Volker Reichelt http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=3649&database=gcc