https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109896
--- Comment #2 from H.J. Lu <hjl.tools at gmail dot com> --- (In reply to Andrew Pinski from comment #1) > I suspect the overflow code was added before __builtin_*_overflow were added > which is why the generated code is this way. Should the C++ front-end use __builtin_mul_overflow?