summaryrefslogtreecommitdiffstats
path: root/toolchain/gcc
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-03-02 17:54:02 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-03-02 17:54:02 +0000
commitab7967640b0eb8fb0462888df64e9264aa3d51a8 (patch)
tree2aca4c739973f0ecae75bb21a5b4cc850a720738 /toolchain/gcc
parentb1db5421deab84ff6cd6f7c2ac4b660129aa3880 (diff)
gcc: disable extension elimination, it causes hostapd to be miscompiled on mips
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25834 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'toolchain/gcc')
-rw-r--r--toolchain/gcc/patches/linaro/860-disable_extension_elimination.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/toolchain/gcc/patches/linaro/860-disable_extension_elimination.patch b/toolchain/gcc/patches/linaro/860-disable_extension_elimination.patch
new file mode 100644
index 000000000..7edc0ab0a
--- /dev/null
+++ b/toolchain/gcc/patches/linaro/860-disable_extension_elimination.patch
@@ -0,0 +1,11 @@
+--- a/gcc/opts.c
++++ b/gcc/opts.c
+@@ -906,7 +906,7 @@ decode_options (unsigned int argc, const
+ flag_tree_if_to_switch_conversion = opt2;
+ flag_ipa_cp = opt2;
+ flag_ipa_sra = opt2;
+- flag_ee = opt2;
++ flag_ee = 0;
+
+ /* Track fields in field-sensitive alias analysis. */
+ set_param_value ("max-fields-for-field-sensitive",