* flow.c (tidy_fallthru_edge): Update b->end properly.
authorRichard Henderson <rth@cygnus.com>
Tue, 22 Aug 2000 18:12:15 +0000 (11:12 -0700)
committerRichard Henderson <rth@gcc.gnu.org>
Tue, 22 Aug 2000 18:12:15 +0000 (11:12 -0700)
From-SVN: r35879

gcc/ChangeLog
gcc/flow.c

index 5700c4f163556101559e433afc109714635cb801..983a2fb8e4585398b4b38a946e8ce96b66055970 100644 (file)
@@ -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.
index ad3403974a653308edfffe7eac9f1f8506d05c09..1291ac404a608e66d384955e75f6e67eb3b9d11d 100644 (file)
@@ -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.  */