https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80426
Eric Botcazou <ebotcazou at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #41214|0 |1 is obsolete| | --- Comment #7 from Eric Botcazou <ebotcazou at gcc dot gnu.org> --- Created attachment 41223 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41223&action=edit Better fix This directly computes the overflow, as done in the other cases.