summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2010-04-28 06:27:03 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2010-04-28 06:27:03 +0000
commitf377100d2c47447f66465f3d9d017428e8c57e98 (patch)
tree67a6a469652fb1cdfb9527ed3f529d150693e795 /gnu
parent9d504ddbf0f060e81064b373c7886a5517f3ac3a (diff)
Enable -fwrapv by default. It's what many programmers expect and according
to miod@ "has a history of being required to build security concerned software". ok guenther@, jsg@, robert@
Diffstat (limited to 'gnu')
-rw-r--r--gnu/gcc/gcc/common.opt2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/gcc/gcc/common.opt b/gnu/gcc/gcc/common.opt
index d0724e40540..d24162f13ec 100644
--- a/gnu/gcc/gcc/common.opt
+++ b/gnu/gcc/gcc/common.opt
@@ -1088,7 +1088,7 @@ Common Report Var(flag_whole_program) Init(0)
Perform whole program optimizations
fwrapv
-Common Report Var(flag_wrapv)
+Common Report Var(flag_wrapv) Init(1)
Assume signed arithmetic overflow wraps around
fzero-initialized-in-bss