decl.c (push_library_fn): Add a parameter for the exceptions that the function may...
authorPaolo Carlini <paolo.carlini@oracle.com>
Sun, 27 Jul 2008 15:49:12 +0000 (15:49 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Sun, 27 Jul 2008 15:49:12 +0000 (15:49 +0000)
commit448083e540b08bda3c373cf8ac9d32b5ea5314e2
treeda418f319220eb6a1b3f4aae8839aac856aadb83
parent0d52899f78e638f7a5e2a50954d3740d68907a91
decl.c (push_library_fn): Add a parameter for the exceptions that the function may throw.

2008-07-27  Paolo Carlini  <paolo.carlini@oracle.com>

* decl.c (push_library_fn): Add a parameter for the exceptions that
the function may throw.
(push_void_library_fn, push_throw_library_fn, expand_static_init):
Adjust.
(build_library_fn): Change to static.
* cp-tree.h: Adjust declarations.
* except.c (declare_nothrow_library_fn): New.
(do_get_exception_ptr, do_begin_catch, do_free_exception,
do_allocate_exception):  Use the latter, adjust the declarations
(ie, add empty exception-specification), consistently with the
actual implementation in libsupc++.

From-SVN: r138189
gcc/cp/ChangeLog
gcc/cp/cp-tree.h
gcc/cp/decl.c
gcc/cp/except.c