PR rtl-optimization/50249
authorbernds <bernds@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 27 Sep 2011 14:55:11 +0000 (14:55 +0000)
committerbernds <bernds@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 27 Sep 2011 14:55:11 +0000 (14:55 +0000)
commitddedc10dcc8649652dd4fdd73ef960fe2ae6a0e5
tree8e7b9e95f4f1a507bf826e229c87aabe59135a5b
parentb33542ab8c3bcc4cfb595b335889eada3c2e34d4
PR rtl-optimization/50249
* reload1.c (reload_reg_reaches_end_p): Accept a reloadnum argument
instead of opnum and type.  All callers changed.  Remove useless
declaration.
Search forward for other reloads of the same type for the same operand
using the same register; if any are found, return false.
(reload_regs_reach_end_p): Same argument changes; all callers changed.

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