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

--- Comment #2 from Wang Chenyu <3180104919 at zju dot edu.cn> ---
(In reply to Andrew Pinski from comment #1)
> Signed integer overflow is undefined behavior. 
> 
> Use -fwrapv or unsigned to do the addition to get the behavior you want.

I see.. Thank you for your explanation

Reply via email to