From d1f44a759855321c375c959f61f0bdfe1f9790ec Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Wed, 2 Mar 2011 17:54:02 +0000 Subject: [PATCH] gcc: disable extension elimination, it causes hostapd to be miscompiled on mips SVN-Revision: 25834 --- .../linaro/860-disable_extension_elimination.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 toolchain/gcc/patches/linaro/860-disable_extension_elimination.patch 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 00000000000..7edc0ab0aaf --- /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", -- 2.30.2