The gcc 4.9 devirtualization bug was fixed with a cherry pick of r212222.
BUG:
19872411
Change-Id: I6d9677f112402fe84d70da770f364392398e9cc9
-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!
-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 \