From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6544 invoked by alias); 18 Apr 2006 19:41:34 -0000 Received: (qmail 6507 invoked by alias); 18 Apr 2006 19:41:31 -0000 Date: Tue, 18 Apr 2006 19:41:00 -0000 Message-ID: <20060418194131.6506.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: "mark at codesourcery dot com" 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/msg01464.txt.bz2 List-Id: ------- Comment #5 from mark at codesourcery dot com 2006-04-18 19:41 ------- Subject: Re: [4.0/4.1/4.2 regression] ICE with invalid class name in function template reichelt at gcc dot gnu dot org wrote: > ------- Comment #4 from reichelt at gcc dot gnu dot org 2006-04-18 10:43 ------- > Hi Mark, > I was just testing the following btw.: Thanks. I've got a rather more involved changed (with some other good cleanups) that I think is almost ready. I'm concerned that your change wouldn't be correct for friends in templates, which is usually the nasty case for these kinds of things. For example, I think "friend void T::f();" is valid, even if "T" is a template type parameter. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27102