This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch] PR c++/26151: duplicate 'duplicate' diagnostic
Volker Reichelt wrote:
>>> PR c++/26151
>>> * parser.c (cp_parser_decl_specifier_seq): Check for duplicate
>>> decl-specifiers. Remove extra check for duplicate 'friend'.
>>> * decl.c (grokdeclarator): Remove check for duplicate
>>> decl-specifiers. Set longlong together with long_p.
> What about the branches then?
> Should the fix go into 4.1 and 4.0, too?
Yes, this is OK for those branches too.
--
Mark Mitchell
CodeSourcery
mark@codesourcery.com
(650) 331-3385 x713