aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Henderson <rth@cygnus.com>2000-05-25 09:33:32 -0700
committerRichard Henderson <rth@gcc.gnu.org>2000-05-25 09:33:32 -0700
commitd1ee23e5c3d22613ea7a5c2807b7f12045bd6883 (patch)
treea3af5a3897a5329030359945bf49c1f2f311cfc3 /gcc
parentce152ef8360320d27e1aacba9af8fdc4e1649941 (diff)
downloadgcc-d1ee23e5c3d22613ea7a5c2807b7f12045bd6883.zip
gcc-d1ee23e5c3d22613ea7a5c2807b7f12045bd6883.tar.gz
gcc-d1ee23e5c3d22613ea7a5c2807b7f12045bd6883.tar.bz2
* stmt.c (expand_end_bindings): Fix thinko last change.
From-SVN: r34170
Diffstat (limited to 'gcc')
-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);