summaryrefslogtreecommitdiff
path: root/gcc/except.c
diff options
context:
space:
mode:
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>2001-08-16 16:24:46 +0000
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>2001-08-16 16:24:46 +0000
commit7de76e4b62f88d6813e120b2bc658690b1e14a15 (patch)
tree5a8ec5d207c582c4cc2b48cadfb508def25b50e8 /gcc/except.c
parente0042a07c86b58f548c47536a29d7c6692ae2b1e (diff)
downloadgcc-7de76e4b62f88d6813e120b2bc658690b1e14a15.tar.gz
tweak comment
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44942 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/except.c')
-rw-r--r--gcc/except.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/gcc/except.c b/gcc/except.c
index a23756268a7..599f188bdc8 100644
--- a/gcc/except.c
+++ b/gcc/except.c
@@ -834,7 +834,11 @@ expand_end_all_catch ()
/* End an exception region for an exception type filter. ALLOWED is a
TREE_LIST of types to be matched by the runtime. FAILURE is an
- expression to invoke if a mismatch ocurrs. */
+ expression to invoke if a mismatch ocurrs.
+
+ ??? We could use these semantics for calls to rethrow, too; if we can
+ see the surrounding catch clause, we know that the exception we're
+ rethrowing satisfies the "filter" of the catch type. */
void
expand_eh_region_end_allowed (allowed, failure)