This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: C++ PATCH: Fix PR 7721 and PR 7803
- From: Jason Merrill <jason at redhat dot com>
- To: Gabriel Dos Reis <gdr at integrable-solutions dot net>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Fri, 11 Oct 2002 13:21:53 -0400
- Subject: Re: C++ PATCH: Fix PR 7721 and PR 7803
- References: <m3adlofpa7.fsf@uniton.integrable-solutions.net>
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