From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23381 invoked by alias); 18 Apr 2006 21:20:45 -0000 Received: (qmail 23350 invoked by uid 48); 18 Apr 2006 21:20:40 -0000 Date: Tue, 18 Apr 2006 21:20:00 -0000 Message-ID: <20060418212040.23349.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug c++/27102] [4.0/4.1/4.2 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/msg01468.txt.bz2 List-Id: ------- Comment #6 from reichelt at gcc dot gnu dot org 2006-04-18 21:20 ------- > For example, I think "friend void T::f();" is valid, even if "T" is a > template type parameter. Indeed. Ouch... We probably should have a testcase to cover this. Apparently, we don't have one yet. Otherwise, my invalid patch wouldn't have passed regtesting. But I guess, you already took care of this. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27102