summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2011-09-21 21:26:05 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2011-09-21 21:26:05 +0000
commitd6e4fd47a867140aa7ee5a1cde03de5c628fd01e (patch)
treefd936b38cb05e2af67ab4c2155cb5980b81af456 /share
parentb30cc46d0a6f9c2931eed4b2252015fd889702e4 (diff)
add a note about -ftree-vrp being removed from -O2
as it is known to be broken in 4.2.1 prompted by a discussion about other gcc bugs...
Diffstat (limited to 'share')
-rw-r--r--share/man/man1/gcc-local.111
1 files changed, 9 insertions, 2 deletions
diff --git a/share/man/man1/gcc-local.1 b/share/man/man1/gcc-local.1
index 72f9c82857f..c3004bbdeb8 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.24 2011/07/25 19:24:03 tedu Exp $
+.\" $OpenBSD: gcc-local.1,v 1.25 2011/09/21 21:26:04 jsg 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: July 25 2011 $
+.Dd $Mdocdate: September 21 2011 $
.Dt GCC-LOCAL 1
.Os
.Sh NAME
@@ -89,6 +89,13 @@ as this option causes issues on some legacy code.
can cause surprising optimizations to occur, possibly deleting security
critical overflow checks.
.It
+The
+.Fl ftree-vrp
+optimization is not included in the
+.Fl O2
+option as it is known to be broken in
+.Nm gcc 4.2.1 .
+.It
The option
.Fl fno-builtin-<function>
was backported from