This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug tree-optimization/31873] missed optimization: we don't move "invariant casts" out of loops



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]