summaryrefslogtreecommitdiff
path: root/share/man/man1/gcc-local.1
diff options
context:
space:
mode:
Diffstat (limited to 'share/man/man1/gcc-local.1')
-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