This is the mail archive of the
gcc-prs@gcc.gnu.org
mailing list for the GCC project.
Re: c++/9311: [3.2/3.3 regression] ICE on illegal code using templates and inheritance
- From: bangerth at dealii dot org
- To: Neil dot Ferguson at aepona dot com, gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, nobody at gcc dot gnu dot org
- Date: 14 Jan 2003 16:53:31 -0000
- Subject: Re: c++/9311: [3.2/3.3 regression] ICE on illegal code using templates and inheritance
- Reply-to: bangerth at dealii dot org, Neil dot Ferguson at aepona dot com, gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, nobody at gcc dot gnu dot org, gcc-gnats at gcc dot gnu dot org
Old Synopsis: g++ 3.2.1 - ICE on illegal code using templates and inheritance
New Synopsis: [3.2/3.3 regression] ICE on illegal code using templates and inheritance
State-Changed-From-To: open->analyzed
State-Changed-By: bangerth
State-Changed-When: Tue Jan 14 08:53:30 2003
State-Changed-Why:
Confirmed. The code ICEs with 3.0, 3.2 and 3.3. It produced
a useful error with 2.95, and with present 3.4.
Here's the code, for simpler cut-n-pasting:
-----------------------
template<typename T> class A {};
template<typename T> class B {};
template<typename T>
class B<T>::C : public A<T> {};
-----------------------
W.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=9311