diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2010-04-28 06:27:03 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2010-04-28 06:27:03 +0000 |
commit | f377100d2c47447f66465f3d9d017428e8c57e98 (patch) | |
tree | 67a6a469652fb1cdfb9527ed3f529d150693e795 /gnu | |
parent | 9d504ddbf0f060e81064b373c7886a5517f3ac3a (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.opt | 2 |
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 |