diff options
author | Jason Merrill <jason@redhat.com> | 2005-09-27 12:04:25 -0400 |
---|---|---|
committer | Jason Merrill <jason@gcc.gnu.org> | 2005-09-27 12:04:25 -0400 |
commit | 86ad3aa989805482427d241e03aa9fae6390d30d (patch) | |
tree | 3bb0430180145c4c46eccc4eb0371b0a2aeead17 /gcc/libgcc2.c | |
parent | 8ec88e19de05f73576e780f06331a1906fefacc5 (diff) | |
download | gcc-86ad3aa989805482427d241e03aa9fae6390d30d.zip gcc-86ad3aa989805482427d241e03aa9fae6390d30d.tar.gz gcc-86ad3aa989805482427d241e03aa9fae6390d30d.tar.bz2 |
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
Diffstat (limited to 'gcc/libgcc2.c')
0 files changed, 0 insertions, 0 deletions