aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/stmt.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 43a8e4f..d0f7f27 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2000-05-25 Richard Henderson <rth@cygnus.com>
+
+ * stmt.c (expand_end_bindings): Fix thinko last change.
+
2000-05-25 Andrew MacLeod <amacleod@cygnus.com>
Andrew Haley <aph@cygnus.com>
diff --git a/gcc/stmt.c b/gcc/stmt.c
index 81f4132..76dcdc3 100644
--- a/gcc/stmt.c
+++ b/gcc/stmt.c
@@ -3688,7 +3688,7 @@ expand_end_bindings (vars, mark_ends, dont_jump_in)
insn = get_last_insn ();
if (GET_CODE (insn) == NOTE)
insn = prev_nonnote_insn (insn);
- reachable = GET_CODE (insn) != BARRIER;
+ reachable = (! insn || GET_CODE (insn) != BARRIER);
/* Do the cleanups. */
expand_cleanups (thisblock->data.block.cleanups, NULL_TREE, 0, reachable);