(rest_of_compilation): Call init_insn_lengths here.
authorRichard Kenner <kenner@gcc.gnu.org>
Fri, 20 Oct 1995 21:58:04 +0000 (17:58 -0400)
committerRichard Kenner <kenner@gcc.gnu.org>
Fri, 20 Oct 1995 21:58:04 +0000 (17:58 -0400)
From-SVN: r10484

gcc/toplev.c

index 52b22973496f36358d47d5bb29f34e0b0ec15a69..1b6fccb5d601d4fb3e28254184d3cbe67a28cc97 100644 (file)
@@ -3267,6 +3267,9 @@ rest_of_compilation (decl)
 
   reload_completed = 0;
 
+  /* Clear out the insn_length contents now that they are no longer valid.  */
+  init_insn_lengths ();
+
   /* Clear out the real_constant_chain before some of the rtx's
      it runs through become garbage.  */