aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/toplev.c4
2 files changed, 9 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index f61f6eb..c5c131f 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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
diff --git a/gcc/toplev.c b/gcc/toplev.c
index c3f975b..1c65d30 100644
--- a/gcc/toplev.c
+++ b/gcc/toplev.c
@@ -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. */