diff options
author | Richard Henderson <rth@cygnus.com> | 2000-04-27 00:38:40 -0700 |
---|---|---|
committer | Richard Henderson <rth@gcc.gnu.org> | 2000-04-27 00:38:40 -0700 |
commit | a9f531a60b31344b51f07c6b9685865b20309533 (patch) | |
tree | 5e6f9c8c6914cd5d2cb99373a092bd5e4f08fd7a /gcc/flow.c | |
parent | 2ea64f10c851eaaff64b57c9670385ab050fae34 (diff) | |
download | gcc-a9f531a60b31344b51f07c6b9685865b20309533.zip gcc-a9f531a60b31344b51f07c6b9685865b20309533.tar.gz gcc-a9f531a60b31344b51f07c6b9685865b20309533.tar.bz2 |
flow.c (allocate_reg_life_data): Set max_regno here ...
* flow.c (allocate_reg_life_data): Set max_regno here ...
(life_analysis): ... not here.
From-SVN: r33475
Diffstat (limited to 'gcc/flow.c')
-rw-r--r-- | gcc/flow.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -2512,8 +2512,6 @@ life_analysis (f, file, flags) if (flags & PROP_SCAN_DEAD_CODE) init_alias_analysis (); - max_regno = max_reg_num (); - /* Always remove no-op moves. Do this before other processing so that we don't have to keep re-scanning them. */ delete_noop_moves (f); @@ -3206,6 +3204,8 @@ allocate_reg_life_data () { int i; + max_regno = max_reg_num (); + /* Recalculate the register space, in case it has grown. Old style vector oriented regsets would set regset_{size,bytes} here also. */ allocate_reg_info (max_regno, FALSE, FALSE); |