This is the mail archive of the gcc-patches@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++ PATCH: Fix PR 7721 and PR 7803


On 09 Oct 2002 02:07:28 +0200, Gabriel Dos Reis <gdr@integrable-solutions.net> wrote:

> 	PRs C++/7721 and C++/7803
> 	* decl.c (grokdeclarator): Gracefully handle template-name as
> 	decl-specifier. 

I find it odd that the compiler would treat N::X as a declarator; I would
expect the parser to treat it as an invalid type.  But the patch seems
reasonable and safe; it's OK for trunk and 3.2.

Jason


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