* IPA ICF fallout: fox for libasan and pr43077-1.c
@ 2014-10-16 17:00 Martin Liška
0 siblings, 0 replies; only message in thread
From: Martin Liška @ 2014-10-16 17:00 UTC (permalink / raw)
To: GCC Patches; +Cc: jakub Jelinek
[-- Attachment #1: Type: text/plain, Size: 168 bytes --]
Hello.
After IRC discussion with Jakub, I disable IPA ICF for ASAN.
Second part of the patch contains fix for pr43077-1.c.
Considered as pre-approved.
Thanks,
Martin
[-- Attachment #2: ipa-icf-fallout1.changelog --]
[-- Type: text/plain, Size: 299 bytes --]
gcc/testsuite/ChangeLog:
2014-10-16 Martin Liska <mliska@suse.cz>
* gcc.dg/guality/pr43077-1.c: IPA ICF disabled
to match defined expectations.
libsanitizer/ChangeLog:
2014-10-16 Martin Liska <mliska@suse.cz>
* asan/Makefile.am: IPA ICF pass is disabled.
* asan/Makefile.in: Likewise.
[-- Attachment #3: ipa-icf-fallout1.patch --]
[-- Type: text/x-patch, Size: 1993 bytes --]
diff --git a/gcc/testsuite/gcc.dg/guality/pr43077-1.c b/gcc/testsuite/gcc.dg/guality/pr43077-1.c
index d8d5eeb..84bd59e 100644
--- a/gcc/testsuite/gcc.dg/guality/pr43077-1.c
+++ b/gcc/testsuite/gcc.dg/guality/pr43077-1.c
@@ -1,6 +1,6 @@
/* PR debug/43077 */
/* { dg-do run } */
-/* { dg-options "-g" } */
+/* { dg-options "-g -fno-ipa-icf" } */
int varb;
diff --git a/libsanitizer/asan/Makefile.am b/libsanitizer/asan/Makefile.am
index 12f20ae..d499c72 100644
--- a/libsanitizer/asan/Makefile.am
+++ b/libsanitizer/asan/Makefile.am
@@ -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
diff --git a/libsanitizer/asan/Makefile.in b/libsanitizer/asan/Makefile.in
index 862eec4..00a614b 100644
--- a/libsanitizer/asan/Makefile.in
+++ b/libsanitizer/asan/Makefile.in
@@ -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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2014-10-16 16:52 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-10-16 17:00 IPA ICF fallout: fox for libasan and pr43077-1.c Martin Liška
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).