aboutsummaryrefslogtreecommitdiff
path: root/gcc/except.c
diff options
context:
space:
mode:
authorJason Merrill <jason@gcc.gnu.org>2001-12-14 06:19:28 -0500
committerJason Merrill <jason@gcc.gnu.org>2001-12-14 06:19:28 -0500
commit009c32817af8cfcdef68d05da04a930c448dd4f3 (patch)
treee8ef2e0494efc960fae81761d556b7b4b08079c7 /gcc/except.c
parenta4cf1d8534aa178a01522936044e5d62579161d7 (diff)
downloadgcc-009c32817af8cfcdef68d05da04a930c448dd4f3.zip
gcc-009c32817af8cfcdef68d05da04a930c448dd4f3.tar.gz
gcc-009c32817af8cfcdef68d05da04a930c448dd4f3.tar.bz2
tweak comment
From-SVN: r47998
Diffstat (limited to 'gcc/except.c')
-rw-r--r--gcc/except.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/gcc/except.c b/gcc/except.c
index db4e25a..c3958f9 100644
--- a/gcc/except.c
+++ b/gcc/except.c
@@ -1022,7 +1022,12 @@ begin_protect_partials ()
/* Start a new exception region for a region of code that has a
cleanup action and push the HANDLER for the region onto
protect_list. All of the regions created with add_partial_entry
- will be ended when end_protect_partials is invoked. */
+ will be ended when end_protect_partials is invoked.
+
+ ??? The only difference between this purpose and that of
+ expand_decl_cleanup is that in this case, we only want the cleanup to
+ run if an exception is thrown. This should also be handled using
+ binding levels. */
void
add_partial_entry (handler)