From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22405 invoked by alias); 3 Feb 2003 19:26:00 -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 22367 invoked by uid 71); 3 Feb 2003 19:26:00 -0000 Date: Mon, 03 Feb 2003 19:26:00 -0000 Message-ID: <20030203192600.22362.qmail@sources.redhat.com> To: nobody@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org, From: Wolfgang Bangerth Subject: Re: c++/9549: [3.4 regression] [New parser] ICE in regenerate_decl_from_template Reply-To: Wolfgang Bangerth X-SW-Source: 2003-02/txt/msg00134.txt.bz2 List-Id: The following reply was made to PR c++/9549; it has been noted by GNATS. From: Wolfgang Bangerth To: Martin Sebor Cc: bangerth@dealii.org, Subject: Re: c++/9549: [3.4 regression] [New parser] ICE in regenerate_decl_from_template Date: Mon, 3 Feb 2003 13:21:53 -0600 (CST) > > This is not a bug. You need to write > > m.template do_it(); > > This is incorrect, as is your previous analysis in PR #9510: > http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=9510 > > This syntax is required only if the right hand side of the > dot operator depends on a template parameter, otherwise it > is optional. Please read 14.2, p4 for more. Ehm, but in m.do_it, the rhs of the dot operator _is_ template dependent, no? 14.2.4 has almost the same example and says that you need the template keyword -- what am I missing here? W. ------------------------------------------------------------------------- Wolfgang Bangerth email: bangerth@ticam.utexas.edu www: http://www.ticam.utexas.edu/~bangerth/