From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18021 invoked by alias); 18 May 2003 19:51:46 -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 17980 invoked by uid 48); 18 May 2003 19:51:46 -0000 Date: Sun, 18 May 2003 19:51:00 -0000 Message-ID: <20030518195146.17979.qmail@sources.redhat.com> To: gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org, have@ann.jussieu.fr, nobody@gcc.gnu.org From: giovannibajo@libero.it Reply-To: giovannibajo@libero.it, gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org, have@ann.jussieu.fr, nobody@gcc.gnu.org, gcc-gnats@gcc.gnu.org Subject: Re: c++/10845: [3.3/3.4 regression] template member function (getting a nested template as paramter) cannot be called anymore if another unrelated template member funciton is defined. X-SW-Source: 2003-05/txt/msg02043.txt.bz2 List-Id: Old Synopsis: `template method` not matched in template class New Synopsis: [3.3/3.4 regression] template member function (getting a nested template as paramter) cannot be called anymore if another unrelated template member funciton is defined. State-Changed-From-To: open->analyzed State-Changed-By: bajo State-Changed-When: Sun May 18 19:51:45 2003 State-Changed-Why: Confirmed. The funny thing about this bug is that if you remove the member functions g() and h(), the call to f() succeeds. I rate this as a regression because the above snippet without h() compiles with 2.95 but fails on 3.x. The snippet provided by the poster fails also with 2.95, but it's the opposite problem: it manages to call f() but not g() and h(). http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=10845