]> gcc.gnu.org Git - gcc.git/commit - gcc/cp/except.c
exception.cc (struct cp_eh_info): Add handlers field.
authorJason Merrill <jason@yorick.cygnus.com>
Tue, 25 Nov 1997 06:14:48 +0000 (06:14 +0000)
committerJason Merrill <jason@gcc.gnu.org>
Tue, 25 Nov 1997 06:14:48 +0000 (01:14 -0500)
commit20b9016983fc3fda1ff9f8262b2b428f7a689ea3
tree188a0e6b28b848caa1011c2fa6c43434f59efa15
parentc77289885d7b658a980738069be7979c3429ef9b
exception.cc (struct cp_eh_info): Add handlers field.

* exception.cc (struct cp_eh_info): Add handlers field.
(__cp_push_exception): Initialize it.
(__cp_pop_exception): Decrement it.  Don't pop unless it's 0.
(__throw_bad_exception): Remove.
* except.c (call_eh_info): Add handlers field.
(get_eh_handlers): New fn.
(push_eh_cleanup): Increment handlers.

Fixes P15031.C, rethrow[45].C

From-SVN: r16694
gcc/cp/ChangeLog
gcc/cp/except.c
gcc/cp/exception.cc
This page took 0.056117 seconds and 5 git commands to generate.