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]

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




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