OSDN Git Service

* decl.c (grokfndecl): Set TREE_NOTHROW if TYPE_NOTHROW_P.
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 13 Mar 2000 19:23:34 +0000 (19:23 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 13 Mar 2000 19:23:34 +0000 (19:23 +0000)
commit78fdeecc4061d7f87996a972ce932234c59b0812
tree8a8088c2b10142e90d063bf19ffd09e1e3f915ec
parent2aa28b3e94ffb0b542e06c693705b8a5d3dcc4c1
    * 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32510 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/decl.c
gcc/cp/except.c