summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>2007-06-26 19:10:20 +0000
committerache <ache@FreeBSD.org>2007-06-26 19:10:20 +0000
commita099abcf473033639ce6d0b8da9a191e88ccba3b (patch)
treece9e43e2cca9d5ace68af7333bd18ed4d03ef49c /share
parentc6438ef575c6cc9bc10113cede82bbd92e6e3e52 (diff)
downloadFreeBSD-src-a099abcf473033639ce6d0b8da9a191e88ccba3b.zip
FreeBSD-src-a099abcf473033639ce6d0b8da9a191e88ccba3b.tar.gz
This is temp workaround of nasty gcc 4.2.0 -O2 bug which may skip the rest
of the loop when arrays used inside. http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32500 Approved by: re (kensmith)
Diffstat (limited to 'share')
-rw-r--r--share/mk/sys.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/mk/sys.mk b/share/mk/sys.mk
index a78dfa0..4d375af 100644
--- a/share/mk/sys.mk
+++ b/share/mk/sys.mk
@@ -35,7 +35,7 @@ CC ?= c89
CFLAGS ?= -O
.else
CC ?= cc
-CFLAGS ?= -O2 -fno-strict-aliasing -pipe
+CFLAGS ?= -O2 -fno-strict-aliasing -fno-tree-vrp -pipe
.endif
CXX ?= c++
OpenPOWER on IntegriCloud