http://llvm.org/bugs/show_bug.cgi?id=9256
Török Edwin <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|INVALID | Summary|clang: support for kernel |clang: support |code model: pointer |-fno-strict-overflow |arithmetic that overflows | |is not impossible! | --- Comment #3 from Török Edwin <[email protected]> 2011-02-26 02:40:57 CST --- (In reply to comment #2) > Right, they should build with -fwrapv or (better yet) do the computation with > an unsigned value. They use -fno-strict-overflow: # disable invalid "can't wrap" optimizations for signed / pointers KBUILD_CFLAGS += $(call cc-option,-fno-strict-overflow) clang: warning: argument unused during compilation: '-fno-strict-overflow' Should clang translate -fno-strict-overflow to -fwrapv (if it supports that)? -- Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. _______________________________________________ LLVMbugs mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs
