This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/13578] [3.3 Regression] Internal compiler error
- From: "reichelt at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 13 Jan 2004 03:44:34 -0000
- Subject: [Bug c++/13578] [3.3 Regression] Internal compiler error
- References: <20040106033145.13578.mahall@ncsa.uiuc.edu>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From reichelt at gcc dot gnu dot org 2004-01-13 03:44 -------
Here's an even shorter testcase that causes an ICE with checking enabled.
=======================================
template <typename> struct A
{
typedef int X;
};
template <typename T> struct B : A<T>
{
typename X<T> x;
};
=======================================
The error message is:
PR13578.cc:13: internal compiler error: tree check: expected record_type, have
integer_type in lookup_template_class, at cp/pt.c:4111
Andrew's guess about the patch that caused the regression is correct.
Mark, you are the author. Could you please have a look?
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |mark at codesourcery dot com
Keywords| |monitored
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13578