aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Henderson <rth@cygnus.com>2000-08-22 11:12:15 -0700
committerRichard Henderson <rth@gcc.gnu.org>2000-08-22 11:12:15 -0700
commitb578dbd7d6070672283c334416fb67ce214f3a64 (patch)
tree84153a23c09fe80ee952911d7285b0ac60bc1ed7 /gcc
parentbbcec4ef37d606fa5859d6b9ae84de5f4da698ef (diff)
downloadgcc-b578dbd7d6070672283c334416fb67ce214f3a64.zip
gcc-b578dbd7d6070672283c334416fb67ce214f3a64.tar.gz
gcc-b578dbd7d6070672283c334416fb67ce214f3a64.tar.bz2
* flow.c (tidy_fallthru_edge): Update b->end properly.
From-SVN: r35879
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/flow.c4
2 files changed, 7 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 5700c4f..983a2fb 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2000-08-22 Richard Henderson <rth@cygnus.com>
+
+ * flow.c (tidy_fallthru_edge): Update b->end properly.
+
2000-08-22 Stan Cox <scox@redhat.com>
* Makefile.in (OBJS): Add dependence.o.
diff --git a/gcc/flow.c b/gcc/flow.c
index ad34039..1291ac4 100644
--- a/gcc/flow.c
+++ b/gcc/flow.c
@@ -2554,7 +2554,9 @@ tidy_fallthru_edge (e, b, c)
NOTE_SOURCE_FILE (q) = 0;
}
else
- b->end = q = PREV_INSN (q);
+ q = PREV_INSN (q);
+
+ b->end = q;
}
/* Selectively unlink the sequence. */