aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9
diff options
context:
space:
mode:
authorAndrew Hsieh <andrewhsieh@google.com>2015-01-29 19:22:48 +0000
committerAndrew Hsieh <andrewhsieh@google.com>2015-01-29 19:22:48 +0000
commit480c96283483897953a48cacd8356f02e690f921 (patch)
treed125ed315cc8482295f9691419de4dd3beb3d601 /gcc-4.9
parent407a2d5c2c63bdc0c842ffcd57a139ef8a4f33e2 (diff)
downloadtoolchain_gcc-480c96283483897953a48cacd8356f02e690f921.tar.gz
toolchain_gcc-480c96283483897953a48cacd8356f02e690f921.tar.bz2
toolchain_gcc-480c96283483897953a48cacd8356f02e690f921.zip
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."
This reverts commit 407a2d5c2c63bdc0c842ffcd57a139ef8a4f33e2, because https://android-review.googlesource.com/#/c/125800 provides fixes to root cause. Change-Id: I3ceda349beca8e558ccfac5602de942b9be4d31d
Diffstat (limited to 'gcc-4.9')
-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 6d1eb9678..3c237cb6d 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 ();
}