From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18223 invoked by alias); 7 May 2002 22:46:02 -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 18208 invoked by uid 71); 7 May 2002 22:46:02 -0000 Date: Tue, 07 May 2002 15:46:00 -0000 Message-ID: <20020507224602.18205.qmail@sources.redhat.com> To: nobody@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org, From: Reichelt Subject: Re: c++/6508: compilation error when using "min< double >" as function parameter Reply-To: Reichelt X-SW-Source: 2002-05/txt/msg00207.txt.bz2 List-Id: The following reply was made to PR c++/6508; it has been noted by GNATS. From: Reichelt To: gcc-gnats@gcc.gnu.org, yap_noel@olf.com, gcc-bugs@gcc.gnu.org, nobody@gcc.gnu.org Cc: Subject: Re: c++/6508: compilation error when using "min< double >" as function parameter Date: Wed, 8 May 2002 01:11:03 +0200 Hi, the bug can be reproduced with the following code snippet: --------------------------snip here--------------------- template void foo(T) { } void foo() { } template < typename Fn > void bar(Fn f) { f(); } void quux() { bar(foo); } --------------------------snip here--------------------- The bug is still present in gcc 3.1 20020506 (prerelease). Greetings, Volker Reichelt http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=6508