PR rtl-optimization/28071
commit681f6fc5090572a15b5c436dfd8d326bf9f5d95e
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 26 Jul 2006 22:51:56 +0000 (26 22:51 +0000)
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 26 Jul 2006 22:51:56 +0000 (26 22:51 +0000)
treef8d00326ee6111946d13f5402f15fd26e7c0cd74
parentf4ec5ce196a540fee89c85fb94d8a0027455274c
PR rtl-optimization/28071
* regmove.c (reg_is_remote_constant_p): Avoid quadratic behaviour.
(reg_set_in_bb, max_reg_computed): New static variables.
(regmove_optimize): Free the new array.
(fixup_match_1): Update call of reg_is_remote_constant_p.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@115765 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/regmove.c