summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorTed Unangst <tedu@cvs.openbsd.org>2011-07-25 19:24:04 +0000
committerTed Unangst <tedu@cvs.openbsd.org>2011-07-25 19:24:04 +0000
commitec6b2b5d3cabb3ef0642300123a469ee43f2e7d4 (patch)
tree10fdb6fc3484d771f5beff763942875349aaf638 /share
parent4eee80d8fefd139a740fedc1b1ea477a0cd116a0 (diff)
note that -fstrict-overflow is disabled by default. ok jsg nicm
Diffstat (limited to 'share')
-rw-r--r--share/man/man1/gcc-local.113
1 files changed, 11 insertions, 2 deletions
diff --git a/share/man/man1/gcc-local.1 b/share/man/man1/gcc-local.1
index 18aad35fe08..72f9c82857f 100644
--- a/share/man/man1/gcc-local.1
+++ b/share/man/man1/gcc-local.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: gcc-local.1,v 1.23 2011/06/02 21:39:10 martynas Exp $
+.\" $OpenBSD: gcc-local.1,v 1.24 2011/07/25 19:24:03 tedu Exp $
.\"
.\" Copyright (c) 2002 Marc Espie
.\" Copyright (c) 2003 Anil Madhavapeddy
@@ -25,7 +25,7 @@
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd $Mdocdate: June 2 2011 $
+.Dd $Mdocdate: July 25 2011 $
.Dt GCC-LOCAL 1
.Os
.Sh NAME
@@ -80,6 +80,15 @@ as this option causes issues on some legacy code.
is very unsafe with code that plays tricks with casts, bypassing the
already weak type system of C.
.It
+The
+.Fl O2
+option does not include
+.Fl fstrict-overflow ,
+as this option causes issues on some legacy code.
+.Fl fstrict-overflow
+can cause surprising optimizations to occur, possibly deleting security
+critical overflow checks.
+.It
The option
.Fl fno-builtin-<function>
was backported from