From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20723 invoked by alias); 6 May 2003 16:49:23 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 20704 invoked by uid 48); 6 May 2003 16:49:23 -0000 Date: Tue, 06 May 2003 16:49:00 -0000 Message-ID: <20030506164923.20703.qmail@sources.redhat.com> To: gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org, nobody@gcc.gnu.org, tkarkanis@aw.sgi.com From: reichelt@igpm.rwth-aachen.de Reply-To: reichelt@igpm.rwth-aachen.de, gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org, nobody@gcc.gnu.org, tkarkanis@aw.sgi.com, gcc-gnats@gcc.gnu.org Subject: Re: c++/7638: [2003-01-28] inline friend in template class produces strange error msg X-SW-Source: 2003-05/txt/msg00396.txt.bz2 List-Id: Synopsis: [2003-01-28] inline friend in template class produces strange error msg State-Changed-From-To: analyzed->closed State-Changed-By: reichelt State-Changed-When: Tue May 6 16:49:23 2003 State-Changed-Why: Here's a shorter testcase: ----------------------------snip here--------------------------- template struct A { friend void foo () {} void bar(A); }; template void A::bar (A) {} ----------------------------snip here--------------------------- The bug was introduced in gcc 3.1. Fortunately it has been fixed in gcc 3.2.3, on the 3.3 branch and mainline. Regards, Volker http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=7638