RFC: (Unconditionally) enable -fno-strict-overflow for kernel builds

Poul-Henning Kamp phk at phk.freebsd.dk
Sat Nov 30 22:05:15 UTC 2013


In message <CAJ-VmomC6CMuo__etm7X6W8Hpg8MafL2StePdSz4Jn0XN6MGww at mail.gmail.com>
, Adrian Chadd writes:

>> The compiler authors take the undefined part there as a blanket to perform
>> optimizations which are assuming that signed overflow cannot happen.

That's sufficient explanation for me to support your proposal.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


More information about the freebsd-current mailing list