summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjsg <jsg@openbsd.org>2010-05-16 12:49:00 +0000
committerjsg <jsg@openbsd.org>2010-05-16 12:49:00 +0000
commit3a2f028aae207a2e105e9701322a9dc580ea6a33 (patch)
treefd0269ee38f3aa32a08b368066c85b6d66b6191d
parentplug memory leak. `ps' was allocated with strdup(3), but on error path (diff)
downloadwireguard-openbsd-3a2f028aae207a2e105e9701322a9dc580ea6a33.tar.xz
wireguard-openbsd-3a2f028aae207a2e105e9701322a9dc580ea6a33.zip
Don't include -ftree-vrp in -O2 and higher as it has known bugs in gcc 4.2.
Fixes jdk builds among other things. ok robert@ espie@
-rw-r--r--gnu/gcc/gcc/opts.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/gnu/gcc/gcc/opts.c b/gnu/gcc/gcc/opts.c
index c9c5504c73d..98e25a4e1bf 100644
--- a/gnu/gcc/gcc/opts.c
+++ b/gnu/gcc/gcc/opts.c
@@ -505,7 +505,6 @@ decode_options (unsigned int argc, const char **argv)
flag_reorder_functions = 1;
flag_tree_store_ccp = 1;
flag_tree_store_copy_prop = 1;
- flag_tree_vrp = 1;
if (!optimize_size)
{