* gcse.c (local_cprop_pass): Update reg_sets table when needed.
From-SVN: r61799
This commit is contained in:
parent
1649d92fb3
commit
5f0bea72c5
@ -1,3 +1,7 @@
|
||||
Sat Jan 25 22:31:59 CET 2003 Jan Hubicka <jh@suse.cz>
|
||||
|
||||
* gcse.c (local_cprop_pass): Update reg_sets table when needed.
|
||||
|
||||
Sat Jan 25 21:04:33 CET 2003 Jan Hubicka <jh@suse.cz>
|
||||
Eric Botcazou <ebotcazou@libertysurf.fr>
|
||||
PR opt/8492
|
||||
|
@ -4422,7 +4422,12 @@ local_cprop_pass (alter_jumps)
|
||||
cselib_finish ();
|
||||
/* Global analysis may get into infinite loops for unreachable blocks. */
|
||||
if (changed && alter_jumps)
|
||||
{
|
||||
delete_unreachable_blocks ();
|
||||
free_reg_set_mem ();
|
||||
alloc_reg_set_mem (max_reg_num ());
|
||||
compute_sets (get_insns ());
|
||||
}
|
||||
}
|
||||
|
||||
/* Forward propagate copies. This includes copies and constants. Return
|
||||
|
Loading…
Reference in New Issue
Block a user