OSDN Git Service

* toplev.c (rest_of_compilation): Initialize cse_not_expected as
authoroliva <oliva@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 8 Jan 2000 20:30:18 +0000 (20:30 +0000)
committeroliva <oliva@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 8 Jan 2000 20:30:18 +0000 (20:30 +0000)
in prepare_function_start().

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31288 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/toplev.c

index f61f6eb..c5c131f 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 c3f975b..1c65d30 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.  */