This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug 10903] [3.4 regression] ICE: error routines re-entered.
- From: gcc-bugzilla at gcc dot gnu dot org
- To: gcc-bugs at gcc dot gnu dot org
- Date: 21 May 2003 19:23:44 -0000
- Subject: [Bug 10903] [3.4 regression] ICE: error routines re-entered.
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=10903
------- Additional Comments From reichelt@gcc.gnu.org 2003-05-21 19:23 -------
Here's a shorter example:
---------------------------snip here-----------------------------
struct A { static const bool b=false; };
struct B { typedef A X; };
template <bool> struct C {};
template <typename T> struct D
{
C<T::X> c; // invalid, should be "T::X::b" instead of "T::X"
};
D<B> d;
---------------------------snip here-----------------------------
The error message on mainline is:
PR10903.cc: In instantiation of `D<B>':
PR10903.cc:12: instantiated from here
PR10903.cc:9: error: object `
Internal compiler error: Error reporting routines re-entered.
Please submit a full bug report, [etc.]
With gcc 3.3 we get an error message. It is not very helpful, however:
PR10903.cc: In instantiation of `D<B>':
PR10903.cc:12: instantiated from here
PR10903.cc:9: error: object ``type_decl' not supported by dump_expr
PR10903.cc:9: sorry, unimplemented: <expression error>' cannot be used as
template argument
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.