diff options
| author | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 1999-11-16 04:51:28 +0000 |
|---|---|---|
| committer | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 1999-11-16 04:51:28 +0000 |
| commit | b6f738586d2efcebe2af7d6e0eed0a77e547df29 (patch) | |
| tree | e84d9e086338a99fe47f4a1d17a0a7a1338524f4 | |
| parent | 0054fd985feae40e102bef70f0db0d0a9b94551d (diff) | |
| download | ppe42-gcc-b6f738586d2efcebe2af7d6e0eed0a77e547df29.tar.gz ppe42-gcc-b6f738586d2efcebe2af7d6e0eed0a77e547df29.zip | |
* flow.c (calculate_global_regs_live): Zero bb->aux to begin.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30546 138bc75d-0d04-0410-961f-82ee72b054a4
| -rw-r--r-- | gcc/ChangeLog | 2 | ||||
| -rw-r--r-- | gcc/flow.c | 4 |
2 files changed, 6 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c87e9fd7ec3..c0fca5e8382 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -3,6 +3,8 @@ Mon Nov 15 20:46:45 1999 Richard Henderson <rth@cygnus.com> * alpha.c (alpha_build_va_list): Use make_lang_type and initialize TYPE_NAME for the va_list record. + * flow.c (calculate_global_regs_live): Zero bb->aux to begin. + Tue Nov 16 14:37:52 1999 Geoffrey Keating <geoffk@cygnus.com> * config/rs6000/rs6000.c (first_reg_to_save): Save diff --git a/gcc/flow.c b/gcc/flow.c index 894129e0aab..fee2f551fc6 100644 --- a/gcc/flow.c +++ b/gcc/flow.c @@ -3012,6 +3012,10 @@ calculate_global_regs_live (blocks_in, blocks_out, flags) qtail = queue; qhead = qend = queue + n_basic_blocks + 2; + /* Clear out the garbage that might be hanging out in bb->aux. */ + for (i = n_basic_blocks - 1; i >= 0; --i) + BASIC_BLOCK (i)->aux = NULL; + /* Queue the blocks set in the initial mask. Do this in reverse block number order so that we are more likely for the first round to do useful work. We use AUX non-null to flag that the block is queued. */ |

