|
|
Log in / Subscribe / Register

Signed overflow optimization hazards in the kernel

Signed overflow optimization hazards in the kernel

Posted Aug 16, 2012 13:58 UTC (Thu) by abatters (✭ supporter ✭, #6932)
In reply to: Signed overflow optimization hazards in the kernel by PaulMcKenney
Parent article: Signed overflow optimization hazards in the kernel

http://marc.info/?t=124806309500001&r=1&w=2

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.


to post comments

Signed overflow optimization hazards in the kernel

Posted Aug 16, 2012 22:49 UTC (Thu) by PaulMcKenney (✭ supporter ✭, #9624) [Link]

Whew! It goes back to being non-urgent. ;-)


Copyright © 2026, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds