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 debian-devel-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/21318.56319.795404.108...@chiark.greenend.org.uk