* gcse.c (local_cprop_pass): Update reg_sets table when needed.

From-SVN: r61799
This commit is contained in:
Jan Hubicka 2003-01-25 22:32:42 +01:00 committed by Jan Hubicka
parent 1649d92fb3
commit 5f0bea72c5
2 changed files with 10 additions and 1 deletions

View File

@ -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

View File

@ -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