This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: debug/8384: ICE in is_base_type, at dwarf2out.c:7477
- From: Wolfgang Bangerth <bangerth at ticam dot utexas dot edu>
- To: gcc-bugs at gcc dot gnu dot org, <gcc-gnats at gcc dot gnu dot org>
- Date: Mon, 28 Oct 2002 13:50:05 -0600 (CST)
- Subject: Re: debug/8384: ICE in is_base_type, at dwarf2out.c:7477
Here's a shorter example:
--------------------------------
int foo;
template <class T> struct Base {
typedef T type;
};
template<class T>
struct Derived : public Base<typeof(foo)> {};
-------------------------------
Message is:
-------------------------------
tmp/g> /home/bangerth/bin/gcc-3.3-pre/bin/c++ -g x.cc
x.cc: In instantiation of `Base<__typeof (foo)>':
x.cc:8: instantiated from here
x.cc:3: internal compiler error: in is_base_type, at dwarf2out.c:7477
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
-------------------------------
I believe that if this problem is fixed, the code will still not compile
but the next issue will then be c++/8385.
Regards
Wolfgang
-------------------------------------------------------------------------
Wolfgang Bangerth email: bangerth@ticam.utexas.edu
www: http://www.ticam.utexas.edu/~bangerth