[Bug rtl-optimization/31849] Code size regression caused by fix to PR 31360
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Mon May 7 01:36:00 GMT 2007
------- Comment #2 from pinskia at gcc dot gnu dot org 2007-05-07 02:36 -------
> 1) Hoists a register containing 0 out of the loop
The correct thing to do.
>2) Uses that *only* as a copy into another register (mov reg, #0 costs exactly
the same as mov reg, reg)
Interesting, but this is also true on ppc where I reported the original
problem.
> 3) By doing the above, somehow prevents the post-increment sequence from being
found.
This might be the true issue. But is this a regression from 4.1 where loop.c
would actually move this invariant?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31849
More information about the Gcc-bugs
mailing list