This is the mail archive of the gcc-prs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: c++/9549: [3.4 regression] [New parser] ICE in regenerate_decl_from_template


The following reply was made to PR c++/9549; it has been noted by GNATS.

From: Martin Sebor <sebor@roguewave.com>
To: bangerth@dealii.org, gcc-gnats@gcc.gnu.org
Cc:  
Subject: Re: c++/9549: [3.4 regression] [New parser] ICE in regenerate_decl_from_template
Date: Mon, 03 Feb 2003 12:10:11 -0700

 bangerth@dealii.org wrote:
 > Old Synopsis: g++ fails to call member template from template class
 > New Synopsis: [3.4 regression] [New parser] ICE in regenerate_decl_from_template
 > 
 > State-Changed-From-To: open->analyzed
 > State-Changed-By: bangerth
 > State-Changed-When: Mon Feb  3 19:00:50 2003
 > State-Changed-Why:
 >     This is not a bug. You need to write
 >       m.template do_it<T>();
 
 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.
 
 Regards
 Martin
 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]