diff options
author | Felix Fietkau <nbd@openwrt.org> | 2011-03-02 17:54:02 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2011-03-02 17:54:02 +0000 |
commit | d1f44a759855321c375c959f61f0bdfe1f9790ec (patch) | |
tree | 59538fef239d99ba34106a8364a15c231b835977 /toolchain/gcc/patches | |
parent | 9a1b2c8c7025997fc3ca3c96e5020663f14cb102 (diff) | |
download | mtk-20170518-d1f44a759855321c375c959f61f0bdfe1f9790ec.zip mtk-20170518-d1f44a759855321c375c959f61f0bdfe1f9790ec.tar.gz mtk-20170518-d1f44a759855321c375c959f61f0bdfe1f9790ec.tar.bz2 |
gcc: disable extension elimination, it causes hostapd to be miscompiled on mips
SVN-Revision: 25834
Diffstat (limited to 'toolchain/gcc/patches')
-rw-r--r-- | toolchain/gcc/patches/linaro/860-disable_extension_elimination.patch | 11 |
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 0000000..7edc0ab --- /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", |