re PR c++/13764 (c++ front-end creates extra blocks)
PR c++/13764 * c-common.c (finish_fname_decls): Use append_to_statement_list_force. * cp/cp-tree.h (FUNCTION_NEEDS_BODY_BLOCK): New macro. * cp/name-lookup.c (pushdecl_maybe_friend): Check it. * cp/decl.c (begin_function_body): Do nothing if it's false. (finish_function_body): Ditto. (outer_curly_brace_block): New fn. (finish_function): Use it. From-SVN: r104698
Showing
gcc/testsuite/g++.dg/tree-ssa/block1.C
0 → 100644
Please
register
or
sign in
to comment