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

--- Comment #8 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to Jonathan Wakely from comment #7)
> Nearly all the plain C++ code can be fixed just by compiling it with
> -ftrapv, there's only one inline function where we can't control the
> compiler flags the user uses. So only that place needs to change (if I'm
> right about all the asm code being OK).

s/ftrapv/fwrapv/ right? I dont think you want to trap on overflow, only make it
wrapping.

Reply via email to