loop-iv bugfix
Bernd Schmidt
bernds_cb1@t-online.de
Sat Feb 24 21:00:00 GMT 2007
This fixes a bug I discovered while working on the previous patch to
improve upper bounds for the number of iterations. When searching
backwards through the insns to simplify an expression, loop-iv keeps
track of which registers have been altered, but it does not reliably
take this information into account. Whenever a register that appears in
the expression has been altered, we must abort the scan.
Bootstrapped & regression tested on i686-linux, as well as numerous
times in our Blackfin tree. Committed as 122291.
Bernd
--
This footer brought to you by insane German lawmakers.
Analog Devices GmbH Wilhelm-Wagenfeld-Str. 6 80807 Muenchen
Registergericht Muenchen HRB 40368
Geschaeftsfuehrer Thomas Wessel, Vincent Roche, Joseph E. McDonough
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: alteredreg.diff
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20070224/fff58cdd/attachment.ksh>
More information about the Gcc-patches
mailing list