toplev.c (rest_of_compilation): Initialize cse_not_expected as in prepare_function_st...
authorAlexandre Oliva <oliva@lsd.ic.unicamp.br>
Sat, 8 Jan 2000 20:30:18 +0000 (20:30 +0000)
committerAlexandre Oliva <oliva@gcc.gnu.org>
Sat, 8 Jan 2000 20:30:18 +0000 (20:30 +0000)
* toplev.c (rest_of_compilation): Initialize cse_not_expected as
in prepare_function_start().

From-SVN: r31288

gcc/ChangeLog
gcc/toplev.c

index f61f6eb4a49d023818aef2ed41618b4231b7a912..c5c131fb86fffdd6ad2cac91e422ba79eb74a7da 100644 (file)
@@ -1,3 +1,8 @@
+2000-01-08  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
+
+       * toplev.c (rest_of_compilation): Initialize cse_not_expected as
+       in prepare_function_start().
+
 Sat Jan  8 12:12:46 2000  Nick Clifton  <nickc@cygnus.com>
 
        * config/v850/v850.c (expand_epilogue): Interrupt functions no
index c3f975bd4068f8b4d2bfe88ac96e7f6b462f4462..1c65d30fc1d3af1c37563ec8ca989c4c7ad81d1e 100644 (file)
@@ -2777,6 +2777,10 @@ rest_of_compilation (decl)
   int failure = 0;
   int rebuild_label_notes_after_reload;
 
+  /* When processing delayed functions, prepare_function_start() won't
+     have been run to re-initialize it.  */
+  cse_not_expected = ! optimize;
+
   /* First, remove any notes we don't need.  That will make iterating
      over the instruction sequence faster, and allow the garbage
      collector to reclaim the memory used by the notes.  */