decl.c (grokfndecl): Set TREE_NOTHROW if TYPE_NOTHROW_P.
authorJason Merrill <jason@casey.cygnus.com>
Mon, 13 Mar 2000 19:23:34 +0000 (19:23 +0000)
committerJason Merrill <jason@gcc.gnu.org>
Mon, 13 Mar 2000 19:23:34 +0000 (14:23 -0500)
commit93ca4ba7663487de66e5aff1dc46722079f84e4d
tree8a8088c2b10142e90d063bf19ffd09e1e3f915ec
parenta8c73de3a431495e9dcf281cd5f04f69add09bcb
decl.c (grokfndecl): Set TREE_NOTHROW if TYPE_NOTHROW_P.

        * decl.c (grokfndecl): Set TREE_NOTHROW if TYPE_NOTHROW_P.

        * except.c (dtor_nothrow): New fn.
        (do_pop_exception): Use it.  Take type parm.
        (push_eh_cleanup): Take type parm.
        (expand_start_catch_block): Pass it.
        (build_eh_type_type_ref): Accept null type.

From-SVN: r32510
gcc/cp/ChangeLog
gcc/cp/decl.c
gcc/cp/except.c