exception.cc (__cplus_type_matcher): Call __throw_type_match_rtti_2.
authorJason Merrill <jason@yorick.cygnus.com>
Tue, 24 Aug 1999 04:16:06 +0000 (04:16 +0000)
committerJason Merrill <jason@gcc.gnu.org>
Tue, 24 Aug 1999 04:16:06 +0000 (00:16 -0400)
commitbbd0d54ab38bcf23ec5aef1d50c2593d6c39853a
treec097dc69150c566739513cb37b500b1e01cdb7b0
parent657ac7664ccb23e3d8c45ca4932a6226fef076de
exception.cc (__cplus_type_matcher): Call __throw_type_match_rtti_2.

* exception.cc (__cplus_type_matcher): Call __throw_type_match_rtti_2.
Return arbitrary pointer or NULL.
(check_eh_spec): Call __throw_type_match_rtti_2.
* tinfo.h (*::dcast): Return int.  Add valp parm.
* tinfo.cc (*::dcast): Likewise.  Adjust to allow for null pointers.
* tinfo2.cc (__throw_type_match_rtti_2): Likewise.
(__throw_type_match_rtti): Now just a wrapper.

* except.c: Lose CatchMatch, FirstExceptionMatch, and Unwind.
(init_exception_processing): Don't initialize them.

From-SVN: r28811
gcc/cp/ChangeLog
gcc/cp/except.c
gcc/cp/exception.cc
gcc/cp/tinfo.cc
gcc/cp/tinfo.h
gcc/cp/tinfo2.cc