diff options
author | Alexandre Oliva <oliva@lsd.ic.unicamp.br> | 2000-01-08 20:30:18 +0000 |
---|---|---|
committer | Alexandre Oliva <oliva@gcc.gnu.org> | 2000-01-08 20:30:18 +0000 |
commit | d511f9d5ecc8d4f5a7a6dc1ba239ad67e0816773 (patch) | |
tree | 33b65e9ab4709ba8a5e9dff9c732e878112938ac /gcc | |
parent | 0e668396250723eb11d4b45d234afe1ac7a696c5 (diff) | |
download | gcc-d511f9d5ecc8d4f5a7a6dc1ba239ad67e0816773.zip gcc-d511f9d5ecc8d4f5a7a6dc1ba239ad67e0816773.tar.gz gcc-d511f9d5ecc8d4f5a7a6dc1ba239ad67e0816773.tar.bz2 |
toplev.c (rest_of_compilation): Initialize cse_not_expected as in prepare_function_start().
* toplev.c (rest_of_compilation): Initialize cse_not_expected as
in prepare_function_start().
From-SVN: r31288
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/toplev.c | 4 |
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. */ |