aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJason Merrill <jason@redhat.com>2002-01-17 09:21:54 -0500
committerJason Merrill <jason@gcc.gnu.org>2002-01-17 09:21:54 -0500
commitdbd680e1636e46f4a7ee628da1adb73862d9f419 (patch)
treeb24da109221f32fd696edd4e9ba6a3f4797a37aa /gcc
parentcdd2559cec98c587afc243a2850a329861487013 (diff)
downloadgcc-dbd680e1636e46f4a7ee628da1adb73862d9f419.zip
gcc-dbd680e1636e46f4a7ee628da1adb73862d9f419.tar.gz
gcc-dbd680e1636e46f4a7ee628da1adb73862d9f419.tar.bz2
except.c (add_partial_entry): Remove backwards compatibility code.
* except.c (add_partial_entry): Remove backwards compatibility code. (end_protect_partials): Likewise. From-SVN: r48951
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/except.c16
2 files changed, 5 insertions, 16 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index e21e363..34fc58a 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2002-01-17 Jason Merrill <jason@redhat.com>
+
+ * except.c (add_partial_entry): Remove backwards compatibility code.
+ (end_protect_partials): Likewise.
+
2002-01-17 Jakub Jelinek <jakub@redhat.com>
* config/ia64/ia64.md (prologue_use): New.
diff --git a/gcc/except.c b/gcc/except.c
index 2ce69f2..606c0e6 100644
--- a/gcc/except.c
+++ b/gcc/except.c
@@ -1037,14 +1037,6 @@ add_partial_entry (handler)
{
expand_eh_region_start ();
- /* ??? This comment was old before the most recent rewrite. We
- really ought to fix the callers at some point. */
- /* For backwards compatibility, we allow callers to omit calls to
- begin_protect_partials for the outermost region. So, we must
- explicitly do so here. */
- if (!cfun->eh->protect_list)
- begin_protect_partials ();
-
/* Add this entry to the front of the list. */
TREE_VALUE (cfun->eh->protect_list)
= tree_cons (NULL_TREE, handler, TREE_VALUE (cfun->eh->protect_list));
@@ -1057,14 +1049,6 @@ end_protect_partials ()
{
tree t;
- /* ??? This comment was old before the most recent rewrite. We
- really ought to fix the callers at some point. */
- /* For backwards compatibility, we allow callers to omit the call to
- begin_protect_partials for the outermost region. So,
- PROTECT_LIST may be NULL. */
- if (!cfun->eh->protect_list)
- return;
-
/* Pop the topmost entry. */
t = TREE_VALUE (cfun->eh->protect_list);
cfun->eh->protect_list = TREE_CHAIN (cfun->eh->protect_list);