From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18448 invoked by alias); 20 Apr 2006 10:45:18 -0000 Received: (qmail 18381 invoked by uid 48); 20 Apr 2006 10:45:13 -0000 Date: Thu, 20 Apr 2006 10:45:00 -0000 Message-ID: <20060420104513.18380.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug c++/27102] [4.0/4.1 regression] ICE with invalid class name in function template In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "reichelt at gcc dot gnu dot org" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2006-04/txt/msg01638.txt.bz2 List-Id: ------- 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 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