[Bug tree-optimization/31873] missed optimization: we don't move "invariant casts" out of loops
rakdver at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Wed May 9 10:10:00 GMT 2007
------- Comment #2 from rakdver at gcc dot gnu dot org 2007-05-09 11:10 -------
(In reply to comment #1)
> Does it do it if you specify --param lim-expensive=1? Then it's just a cost
> issue.
no, lim won't do this transformation. Store motion could probably be persuaded
to do it by a few changes, although I am not quite sure what is the benefit of
moving no-op casts out of the loop.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31873
More information about the Gcc-bugs
mailing list