[Bug tree-optimization/58143] [4.8/4.9 regression] wrong code at -O3

bernd.edlinger at hotmail dot de gcc-bugzilla@gcc.gnu.org
Fri Aug 23 09:15:00 GMT 2013


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

Bernd Edlinger <bernd.edlinger at hotmail dot de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #30681|0                           |1
        is obsolete|                            |

--- Comment #10 from Bernd Edlinger <bernd.edlinger at hotmail dot de> ---
Created attachment 30693
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=30693&action=edit
possible fix, next try...

This variant eliminates the infer_loop_bounds_from_signedness
function and some of the "invokes undefined behavior" warnings.
Bootstrapped, and regression tested on i686-pc-linux-gnu.
And by the way, it fixes PR57904 too.

How do you like it now ?



More information about the Gcc-bugs mailing list