re PR c++/26151 (duplicate 'duplicate' diagnostic)
authorVolker Reichelt <reichelt@igpm.rwth-aachen.de>
Mon, 13 Feb 2006 10:29:31 +0000 (10:29 +0000)
committerVolker Reichelt <reichelt@gcc.gnu.org>
Mon, 13 Feb 2006 10:29:31 +0000 (10:29 +0000)
commit28c84d634e56c98a867970eb62ce1224556ba7e1
treeb0b40c8f3f492f75c60bf362ef71ada5b2c54f0b
parent5142e08b2f932ed958d703255ba5059b9192b037
re PR c++/26151 (duplicate 'duplicate' diagnostic)

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.

From-SVN: r110911
gcc/cp/ChangeLog
gcc/cp/decl.c
gcc/cp/parser.c