[Bug tree-optimization/46316] [4.6 regression] incorrect loop optimization

xinliangli at gmail dot com gcc-bugzilla@gcc.gnu.org
Mon Nov 8 07:38:00 GMT 2010


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

--- Comment #15 from davidxl <xinliangli at gmail dot com> 2010-11-08 07:38:17 UTC ---
(In reply to comment #14)
> Instead of multiplication followed by division, it would be faster to just use
> mul_double_with_sign which returns whether there was an overflow or not.

Good idea.

Thanks,

David



More information about the Gcc-bugs mailing list