OSDN Git Service

Remove gcc 4.9 workaround.
authorChih-Hung Hsieh <chh@google.com>
Fri, 29 May 2015 17:23:15 +0000 (10:23 -0700)
committerChih-Hung Hsieh <chh@google.com>
Fri, 29 May 2015 17:27:58 +0000 (10:27 -0700)
The gcc 4.9 devirtualization bug was fixed with a cherry pick of r212222.

BUG: 19872411
Change-Id: I6d9677f112402fe84d70da770f364392398e9cc9

core/combo/TARGET_linux-x86.mk
core/combo/TARGET_linux-x86_64.mk

index 958885c..340f306 100644 (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!
index adc690a..53b0572 100644 (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 \