diff options
-rw-r--r-- | gcc-4.9/gcc/config/arm/arm.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gcc-4.9/gcc/config/arm/arm.c b/gcc-4.9/gcc/config/arm/arm.c index 3c237cb6d..6d1eb9678 100644 --- a/gcc-4.9/gcc/config/arm/arm.c +++ b/gcc-4.9/gcc/config/arm/arm.c @@ -2852,6 +2852,13 @@ 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 (); } |