[Bug tree-optimization/30738] suboptimal code for min, max, et al

rguenth at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Fri Feb 9 13:00:00 GMT 2007



------- Comment #2 from rguenth at gcc dot gnu dot org  2007-02-09 13:00 -------
Created an attachment (id=13026)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13026&action=view)
prototype patch

works for the testcase, otherwise unchecked.  Does not look through copies, so
it
doesn't trigger during early optimization and we can as well move it to
phiopts,
which is not run during early optimization.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30738



More information about the Gcc-bugs mailing list