Vincent Lefevre writes ("Re: Having fun with the following C code (UB)"):
> On 2014-04-10 11:48:44 +0000, Thorsten Glaser wrote:
> > And GCC is a repeat offender which actually does do that.
> 
> If you don't like that, you should use the -fwrapv option.

Sadly that doesn't deal with all of these malicious optimisations.

But it is a good start.  Personally I think we should compile the
whole distro (or at least most of it) with -fwrapv.

Ian.


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: 
https://lists.debian.org/[email protected]

Reply via email to