------- 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