IPA ICF fallout: fox for libasan and pr43077-1.c
authorMartin Liska <mliska@suse.cz>
Thu, 16 Oct 2014 16:56:21 +0000 (18:56 +0200)
committerMartin Liska <marxin@gcc.gnu.org>
Thu, 16 Oct 2014 16:56:21 +0000 (16:56 +0000)
* gcc.dg/guality/pr43077-1.c: IPA ICF disabled
to match defined expectations.

* asan/Makefile.am: IPA ICF pass is disabled.
* asan/Makefile.in: Likewise.

From-SVN: r216339

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/guality/pr43077-1.c
libsanitizer/ChangeLog
libsanitizer/asan/Makefile.am
libsanitizer/asan/Makefile.in

index 818896e698e06b6c64ce2bc4f54086678f5bf5c2..13af086750a14332ca0c909bed7ded6af45ba7bf 100644 (file)
@@ -1,3 +1,8 @@
+2014-10-16  Martin Liska  <mliska@suse.cz>
+
+       * gcc.dg/guality/pr43077-1.c: IPA ICF disabled
+       to match defined expectations.
+
 2014-10-16  Andrew MacLeod  <amacleod@redhat.com>
 
        * g++.dg/plugin/pragma_plugin.c: Adjust include files.
index d8d5eebe07ffc22476104659f82b165f43e32ed5..84bd59ef5f3984ca025e3075b7608f75f619ac3a 100644 (file)
@@ -1,6 +1,6 @@
 /* PR debug/43077 */
 /* { dg-do run } */
-/* { dg-options "-g" } */
+/* { dg-options "-g -fno-ipa-icf" } */
 
 int varb;
 
index dc6c88d494b559b531defc74073abe29e1b7bf4e..ac08daf12901db00f193b77b258c147085dd1b68 100644 (file)
@@ -1,3 +1,8 @@
+2014-10-16  Martin Liska  <mliska@suse.cz>
+
+       * asan/Makefile.am: IPA ICF pass is disabled.
+       * asan/Makefile.in: Likewise.
+
 2014-10-14  David S. Miller  <davem@davemloft.net>
 
        * sanitizer_common/sanitizer_platform_limits_linux.cc (time_t):
index 12f20ae6d2704943f9a84eeea8094f681169d4ef..d499c7252421bc54babe97ec32cc45f1cf9aae34 100644 (file)
@@ -7,7 +7,7 @@ DEFS = -D_GNU_SOURCE -D_DEBUG -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D
 if USING_MAC_INTERPOSE
 DEFS += -DMAC_INTERPOSE_FUNCTIONS -DMISSING_BLOCKS_SUPPORT
 endif
-AM_CXXFLAGS = -Wall -W -Wno-unused-parameter -Wwrite-strings -pedantic -Wno-long-long  -fPIC -fno-builtin -fno-exceptions -fno-rtti -fomit-frame-pointer -funwind-tables -fvisibility=hidden -Wno-variadic-macros
+AM_CXXFLAGS = -Wall -W -Wno-unused-parameter -Wwrite-strings -pedantic -Wno-long-long  -fPIC -fno-builtin -fno-exceptions -fno-rtti -fomit-frame-pointer -funwind-tables -fvisibility=hidden -Wno-variadic-macros -fno-ipa-icf
 AM_CXXFLAGS += $(LIBSTDCXX_RAW_CXX_CXXFLAGS)
 ACLOCAL_AMFLAGS = -I $(top_srcdir) -I $(top_srcdir)/config
 
index 862eec4cea1c1ca0d3b3802099cfaeb5d8d97a17..00a614b3d69a223a3553cda1f9726931193c6382 100644 (file)
@@ -269,7 +269,8 @@ gcc_version := $(shell cat $(top_srcdir)/../gcc/BASE-VER)
 AM_CXXFLAGS = -Wall -W -Wno-unused-parameter -Wwrite-strings -pedantic \
        -Wno-long-long -fPIC -fno-builtin -fno-exceptions -fno-rtti \
        -fomit-frame-pointer -funwind-tables -fvisibility=hidden \
-       -Wno-variadic-macros $(LIBSTDCXX_RAW_CXX_CXXFLAGS)
+       -Wno-variadic-macros -fno-ipa-icf \
+       $(LIBSTDCXX_RAW_CXX_CXXFLAGS)
 ACLOCAL_AMFLAGS = -I $(top_srcdir) -I $(top_srcdir)/config
 toolexeclib_LTLIBRARIES = libasan.la
 nodist_toolexeclib_HEADERS = libasan_preinit.o