aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJason Merrill <jason@lasher.cygnus.com>1997-11-11 10:59:47 +0000
committerJason Merrill <jason@gcc.gnu.org>1997-11-11 05:59:47 -0500
commitc0700ea5ea375cf765c4374157a388873bfdbd17 (patch)
treedb6931809b9b32eb22865634a9d5b08b0f1defc8 /gcc
parenta0e07e85ee694eb3a6998b057d75835517f444cb (diff)
downloadgcc-c0700ea5ea375cf765c4374157a388873bfdbd17.zip
gcc-c0700ea5ea375cf765c4374157a388873bfdbd17.tar.gz
gcc-c0700ea5ea375cf765c4374157a388873bfdbd17.tar.bz2
except.c (do_pop_exception): Return a value.
* except.c (do_pop_exception): Return a value. Oops. From-SVN: r16431
Diffstat (limited to 'gcc')
-rw-r--r--gcc/cp/ChangeLog4
-rw-r--r--gcc/cp/except.c1
2 files changed, 5 insertions, 0 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index b267d28..45e8393 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -4,6 +4,10 @@ Sun Nov 9 01:29:55 1997 Jim Wilson (wilson@cygnus.com)
* init.c (build_vec_delete_1): Delete build_block and
add_block_current_level calls.
+Tue Nov 11 02:53:44 1997 Jason Merrill <jason@lasher.cygnus.com>
+
+ * except.c (do_pop_exception): Return a value.
+
Mon Nov 10 20:25:31 1997 Jason Merrill <jason@yorick.cygnus.com>
* call.c (build_new_method_call): Handle getting a
diff --git a/gcc/cp/except.c b/gcc/cp/except.c
index e4cff1f..66d208c 100644
--- a/gcc/cp/except.c
+++ b/gcc/cp/except.c
@@ -500,6 +500,7 @@ do_pop_exception (handler)
cleanup = build_function_call (fn, expr_tree_cons
(NULL_TREE, cleanup, expr_tree_cons
(NULL_TREE, handler, NULL_TREE)));
+ return cleanup;
}
/* This routine creates the cleanup for the current exception. */