[Bug c++/27102] [4.0/4.1 regression] ICE with invalid class name in function template
reichelt at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Thu Apr 20 10:45:00 GMT 2006
------- Comment #9 from reichelt at gcc dot gnu dot org 2006-04-20 10:45 -------
Mark, your patch doesn't cover the following case which still crashes
on mainline:
===========================================
template<typename T> void T::X::foo() {}
===========================================
The ICE is not in is_ancestor anymore, though:
PR27102B.cc:6: internal compiler error: in cxx_incomplete_type_diagnostic, at
cp/typeck2.c:422
Please submit a full bug report, [etc.]
Would you mind having a look?
Or should I file a different PR for this case?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27102
More information about the Gcc-bugs
mailing list