]> git.ipfire.org Git - thirdparty/gcc.git/commit
except.h (struct eh_region_d): Add use_cxa_end_cleanup.
authorRichard Henderson <rth@redhat.com>
Mon, 28 Sep 2009 16:44:32 +0000 (09:44 -0700)
committerRichard Henderson <rth@gcc.gnu.org>
Mon, 28 Sep 2009 16:44:32 +0000 (09:44 -0700)
commit384c400a82f70420e31fbdc7c1b0b9368fc53b5b
tree96758456da27013ac77e14db7add80d1de6fb85f
parentaa633255e79391140eaff46920861926a35a1eaa
except.h (struct eh_region_d): Add use_cxa_end_cleanup.

* except.h (struct eh_region_d): Add use_cxa_end_cleanup.
* except.c (gen_eh_region): Set it.
(duplicate_eh_regions_1): Copy it.
* tree-eh.c (lower_resx): Use it to determine which function
to call to resume.

* langhooks.h (struct lang_hooks): Add eh_use_cxa_end_cleanup.
* langhooks-def.h (LANG_HOOKS_EH_USE_CXA_END_CLEANUP): New.

* builtins.def (BUILT_IN_CXA_END_CLEANUP): New.
* tree.c (build_common_builtin_nodes): Remove parameter.  Build
BUILT_IN_CXA_END_CLEANUP if necessary.
* tree.h (build_common_builtin_nodes): Update decl.

* c-common.c (c_define_builtins): Update call to
build_common_builtin_nodes.

gcc/ada/
* gcc-interface/utils.c (gnat_install_builtins): Update call to
build_common_builtin_nodes.

gcc/cp/
* cp-objcp-common.h (LANG_HOOKS_EH_USE_CXA_END_CLEANUP): New.

gcc/fortran/
* f95-lang.c (gfc_init_builtin_functions): Update call to
build_common_builtin_nodes.

gcc/java/
* builtins.c (initialize_builtins): Update call to
build_common_builtin_nodes.
* lang.c (LANG_HOOKS_EH_USE_CXA_END_CLEANUP): New.

From-SVN: r152241
19 files changed:
gcc/ChangeLog
gcc/ada/ChangeLog
gcc/ada/gcc-interface/utils.c
gcc/builtins.def
gcc/c-common.c
gcc/cp/ChangeLog
gcc/cp/cp-objcp-common.h
gcc/except.c
gcc/except.h
gcc/fortran/ChangeLog
gcc/fortran/f95-lang.c
gcc/java/ChangeLog
gcc/java/builtins.c
gcc/java/lang.c
gcc/langhooks-def.h
gcc/langhooks.h
gcc/tree-eh.c
gcc/tree.c
gcc/tree.h