aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRong Xu <xur@google.com>2015-02-13 17:27:02 (GMT)
committerGerrit Code Review <noreply-gerritcodereview@google.com>2015-02-13 17:28:04 (GMT)
commitf8623c7fd5ebd974202059297c57c705b34eab7a (patch)
tree60600a994687cc558a616f62eda594d50956498d
parent63fd708bd182b50b37b9f64fa330458c9109380a (diff)
parent480c96283483897953a48cacd8356f02e690f921 (diff)
downloadtoolchain_gcc-f8623c7fd5ebd974202059297c57c705b34eab7a.zip
toolchain_gcc-f8623c7fd5ebd974202059297c57c705b34eab7a.tar.gz
toolchain_gcc-f8623c7fd5ebd974202059297c57c705b34eab7a.tar.bz2
Merge "Revert "[4.9] Disable array bound warning in ARM We are seeing some false positive array bound warnings due to an issue in complete unroll. This patch disables this warning so we can switch the ARM build to 4.9. Will re-enable the warning once the issue is fixed.""
-rw-r--r--gcc-4.9/gcc/config/arm/arm.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/gcc-4.9/gcc/config/arm/arm.c b/gcc-4.9/gcc/config/arm/arm.c
index 6d1eb96..3c237cb 100644
--- a/gcc-4.9/gcc/config/arm/arm.c
+++ b/gcc-4.9/gcc/config/arm/arm.c
@@ -2852,13 +2852,6 @@ arm_option_override (void)
if (target_slow_flash_data)
arm_disable_literal_pool = true;
- if (TARGET_ANDROID)
- {
- /* Disable array_bound warning. Work around issues
- introduced in complete unroll. */
- global_options.x_warn_array_bounds = 0;
- }
-
/* Register global variables with the garbage collector. */
arm_add_gc_roots ();
}