This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/13578] [3.3 Regression] Internal compiler error


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]