Remove gcc 4.9 workaround.

The gcc 4.9 devirtualization bug was fixed with a cherry pick of r212222.

BUG: 19872411
Change-Id: I6d9677f112402fe84d70da770f364392398e9cc9
This commit is contained in:
Chih-Hung Hsieh 2015-05-29 10:23:15 -07:00
parent bdbf074186
commit ad2494bb79
2 changed files with 0 additions and 8 deletions

View File

@ -97,10 +97,6 @@ $(combo_2nd_arch_prefix)TARGET_GLOBAL_CFLAGS += \
-include $(android_config_h) \
-I $(dir $(android_config_h))
# Work around gcc 4.9 devirtualization bug, https://b.corp.google.com/19872411.
$(combo_2nd_arch_prefix)TARGET_GLOBAL_CFLAGS += \
-fno-devirtualize \
$(combo_2nd_arch_prefix)TARGET_GLOBAL_CFLAGS += $(arch_variant_cflags)
ifeq ($(ARCH_X86_HAVE_SSSE3),true) # yes, really SSSE3, not SSE3!

View File

@ -93,10 +93,6 @@ TARGET_GLOBAL_CFLAGS += \
-no-canonical-prefixes \
-fno-canonical-system-headers
# Work around gcc 4.9 devirtualization bug, https://b.corp.google.com/19872411.
TARGET_GLOBAL_CFLAGS += \
-fno-devirtualize \
# Help catch common 32/64-bit errors.
TARGET_GLOBAL_CFLAGS += \
-Werror=pointer-to-int-cast \