https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93505
--- Comment #12 from Segher Boessenkool <segher at gcc dot gnu.org> --- (In reply to Jakub Jelinek from comment #10) > Created attachment 47740 [details] > gcc10-pr93505.patch > > Untested combiner fix. IMHO even when we fix expand_binop we want it > anyway, because we don't want to invoke UB in the compiler, even on UB in > the testcase. This patch is approved for trunk and any wanted backports (if it passes regression testing ;-) )