https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114753
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |wrong-code Component|c++ |middle-end Version|unknown |14.0 --- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> --- Confirmed. .MUL_OVERFLOW expansion likely ends up calling expand_binop which decides for itself whether the op traps based on the result type.