[Bug tree-optimization/41026] invariant address load inside loop with -Os.
rguenth at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Tue Aug 11 08:35:00 GMT 2009
------- Comment #3 from rguenth at gcc dot gnu dot org 2009-08-11 08:35 -------
Well, the issue is that even LIM doesn't move the load because loop header
copying is not run at -Os which usually makes loop analysis hard.
At -O2 -fno-tree-pre it works, but at -Os it doesn't.
We should be better in estimating the loop header copy cost.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41026
More information about the Gcc-bugs
mailing list