* cp-tree.h (cp_tree_index): Add CPTI_DSO_HANDLE.
commit1da45f215654677f195679622293d79f022a065d
authormmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 17 Dec 1999 07:40:08 +0000 (17 07:40 +0000)
committermmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 17 Dec 1999 07:40:08 +0000 (17 07:40 +0000)
treebaf33a58f78965a95318fce634a68a64f07a3cc4
parent39b6af4bd61b81231f365c25fcfa58a27b000f85
* cp-tree.h (cp_tree_index): Add CPTI_DSO_HANDLE.
(dso_handle_node): New macro.
(flag_use_cxa_atexit): New variable.
(declare_global_var): New function.
(start_anon_func): Remove declaration.
(end_anon_func): Likewise.
* decl.c (get_atexit_node): New function, split out from
destroy_local_static.  Handle flag_use_cxa_atexit.
(get_dso_handle_node): Likewise.
(start_cleanup_fn): Renamed from start_anon_func.  Moved here from
except.c.  Handle flag_use_cxa_atexit.
(end_cleanup_fn): Renamed from end_anon_func.  Moved here from
except.c.
(declare_global_var): New variable.
(destroy_local_static): Handle flag_use_cxa_atexit.
* decl2.c (flag_use_cxa_atexit): New variable.
(lang_f_options): Likewise.
* except.c (start_anon_func): Remove.
(end_anon_func): Liekwise.
* lang-options.h: Add -fuse-cxa-atexit and -fno-use-cxa-atexit.
* rtti.c (get_tinfo_var): Use declare_global_var.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30990 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/cp-tree.h
gcc/cp/decl.c
gcc/cp/decl2.c
gcc/cp/except.c
gcc/cp/lang-options.h
gcc/cp/rtti.c