gcc: disable extension elimination, it causes hostapd to be miscompiled on mips
[openwrt/svn-archive/archive.git] / toolchain / gcc / patches / linaro / 860-disable_extension_elimination.patch
1 --- a/gcc/opts.c
2 +++ b/gcc/opts.c
3 @@ -906,7 +906,7 @@ decode_options (unsigned int argc, const
4 flag_tree_if_to_switch_conversion = opt2;
5 flag_ipa_cp = opt2;
6 flag_ipa_sra = opt2;
7 - flag_ee = opt2;
8 + flag_ee = 0;
9
10 /* Track fields in field-sensitive alias analysis. */
11 set_param_value ("max-fields-for-field-sensitive",