Core 898
authorJason Merrill <jason@redhat.com>
Mon, 28 Mar 2011 16:14:02 +0000 (12:14 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Mon, 28 Mar 2011 16:14:02 +0000 (12:14 -0400)
commitc1120b0cd2fbaa17e69f8b37e5346c14b6b75449
tree10ce71ca1b9559747677c86cd6f65d0a95ec923b
parent62add5e145ffe3f87f93bb40e0d9ccbf20044420
Core 898

Core 898
* parser.c (cp_parser_compound_statement): Add function_body parm.
Complain about non-body compound-stmt in constexpr fn.
(cp_parser_primary_expression, cp_parser_statement): Adjust.
(cp_parser_implicitly_scoped_statement): Adjust.
(cp_parser_function_body, cp_parser_try_block): Adjust.
(cp_parser_handler, cp_parser_objc_synchronized_statement): Adjust.
(cp_parser_objc_try_catch_finally_statement): Adjust.

From-SVN: r171612
gcc/cp/ChangeLog
gcc/cp/parser.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/constexpr-compound.C [new file with mode: 0644]