The kernel currently uses -fno-strict-overflow because -fwrapv was buggy in some versions of gcc. Unfortunately -fno-strict-overflow is also buggy in some other versions of gcc. Depending on the version of gcc I compile with, I have to patch the makefile to use one or the other.
Signed overflow optimization hazards in the kernel
Posted Aug 16, 2012 22:49 UTC (Thu) by PaulMcKenney (subscriber, #9624)
[Link]