https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99591

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to Andrew Pinski from comment #1)
> Looks fixed for GCC 11+.

signed2_overflow(short, short):
.LFB0:
        .cfi_startproc
        addw    %si, %di
        seto    %al
        ret

signed1_overflow(signed char, signed char):
.LFB1:
        .cfi_startproc
        addb    %sil, %dil
        seto    %al
        ret

Reply via email to