* cp-tree.h (register_dtor_fn): New function.
authormmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 23 Jan 2000 18:40:20 +0000 (18:40 +0000)
committermmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 23 Jan 2000 18:40:20 +0000 (18:40 +0000)
commit060ff7d8f635232b099518c3bf0c8c48fc837f11
tree90d64c7e911431e3eb2ef805a502b9b6dff47c7f
parentd9716d9c8a240b37297092392aeda6c3c81ccb3f
* cp-tree.h (register_dtor_fn): New function.
* decl.c (destroy_local_static): Rename to ...
(register_dtor_fn): ... this.  Give it external linkage.
(expand_static_init): Use it.
* decl2.c (do_static_initialization): Likewise, if using
__cxa_atexit.
(do_static_destruction): Check that __cxa_atexit is not in use.
(finish_file): Don't call do_static_destruction if using
__cxa_atexit.

* typeck.c (convert_arguments): Restore two-message error
reporting.

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