https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66975
--- Comment #2 from vries at gcc dot gnu.org --- (In reply to vries from comment #1) > This ( https://gcc.gnu.org/ml/gcc-patches/2015-07/msg02064.html ) patches > fixes the problem for operations that do not overflow, f.i. min and max. Updated patch: https://gcc.gnu.org/ml/gcc-patches/2015-07/msg02450.html