This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Clarify that -fwrapv covers all signed arithmetic overflow


On Tue, 17 Nov 2015, Paolo Bonzini wrote:

> * it doesn't promise that GCC will never rely on undefined behavior
> rules for signed left shifts

I think we should remove the ", but this is subject to change" in 
implement-c.texi (while replacing it with noting that ubsan will still 
diagnose such cases, and they will also be diagnosed where constant 
expressions are required).

-- 
Joseph S. Myers
joseph@codesourcery.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]