debug/8384: ICE in is_base_type, at dwarf2out.c:7477
Wolfgang Bangerth
bangerth@ticam.utexas.edu
Mon Oct 28 11:56:00 GMT 2002
The following reply was made to PR debug/8384; it has been noted by GNATS.
From: Wolfgang Bangerth <bangerth@ticam.utexas.edu>
To: gcc-bugs@gcc.gnu.org, <gcc-gnats@gcc.gnu.org>
Cc:
Subject: Re: debug/8384: ICE in is_base_type, at dwarf2out.c:7477
Date: Mon, 28 Oct 2002 13:50:05 -0600 (CST)
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
More information about the Gcc-prs
mailing list