gcc: disable extension elimination, it causes hostapd to be miscompiled on mips
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Wed, 2 Mar 2011 17:54:02 +0000 (17:54 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Wed, 2 Mar 2011 17:54:02 +0000 (17:54 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25834 3c298f89-4303-0410-b956-a3cf2f4a3e73

toolchain/gcc/patches/linaro/860-disable_extension_elimination.patch [new file with mode: 0644]

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 (file)
index 0000000..7edc0ab
--- /dev/null
@@ -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",
This page took 0.023766 seconds and 4 git commands to generate.