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 ?