From: "Martin Liška" <mliska@suse.cz>
To: Paolo Bonzini <bonzini@gnu.org>, Jakub Jelinek <jakub@redhat.com>
Cc: Richard Biener <richard.guenther@gmail.com>,
GCC Patches <gcc-patches@gcc.gnu.org>,
marcandre.lureau@redhat.com
Subject: Re: Fallout: PR84340
Date: Fri, 16 Feb 2018 09:54:00 -0000 [thread overview]
Message-ID: <e47805a7-cf85-982c-8995-83f6a0aad528@suse.cz> (raw)
In-Reply-To: <74fade67-04c0-ee19-5616-b1668142e28d@suse.cz>
[-- Attachment #1: Type: text/plain, Size: 224 bytes --]
Hi.
I'm sending patch that does what Jakub suggested.
Patch can bootstrap on ppc64le-redhat-linux and survives regression tests.
I consider the previous email as approval and I'm going to install the patch.
Thanks,
Martin
[-- Attachment #2: 0001-Set-proper-internal-functions-fnspec-PR-sanitizer-84.patch --]
[-- Type: text/x-patch, Size: 1393 bytes --]
From b306ad522ed0f8a010647d0eb1d9c36b102e92c3 Mon Sep 17 00:00:00 2001
From: marxin <mliska@suse.cz>
Date: Thu, 15 Feb 2018 14:41:46 +0100
Subject: [PATCH] Set proper internal functions fnspec (PR sanitizer/84307).
gcc/ChangeLog:
2018-02-16 Martin Liska <mliska@suse.cz>
PR sanitizer/84307
* internal-fn.def (ASAN_CHECK): Set proper flags.
(ASAN_MARK): Likewise.
---
gcc/internal-fn.def | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/gcc/internal-fn.def b/gcc/internal-fn.def
index 5970d0e472c..4080e1698ea 100644
--- a/gcc/internal-fn.def
+++ b/gcc/internal-fn.def
@@ -255,8 +255,8 @@ DEF_INTERNAL_FN (UBSAN_PTR, ECF_LEAF | ECF_NOTHROW, ".R.")
DEF_INTERNAL_FN (UBSAN_OBJECT_SIZE, ECF_LEAF | ECF_NOTHROW, NULL)
DEF_INTERNAL_FN (ABNORMAL_DISPATCHER, ECF_NORETURN, NULL)
DEF_INTERNAL_FN (BUILTIN_EXPECT, ECF_CONST | ECF_LEAF | ECF_NOTHROW, NULL)
-DEF_INTERNAL_FN (ASAN_CHECK, ECF_TM_PURE | ECF_LEAF | ECF_NOTHROW, ".R...")
-DEF_INTERNAL_FN (ASAN_MARK, ECF_LEAF | ECF_NOTHROW, ".R..")
+DEF_INTERNAL_FN (ASAN_CHECK, ECF_TM_PURE | ECF_LEAF | ECF_NOTHROW, "..R..")
+DEF_INTERNAL_FN (ASAN_MARK, ECF_LEAF | ECF_NOTHROW, NULL)
DEF_INTERNAL_FN (ASAN_POISON, ECF_LEAF | ECF_NOTHROW | ECF_NOVOPS, NULL)
DEF_INTERNAL_FN (ASAN_POISON_USE, ECF_LEAF | ECF_NOTHROW | ECF_NOVOPS, NULL)
DEF_INTERNAL_FN (ADD_OVERFLOW, ECF_CONST | ECF_LEAF | ECF_NOTHROW, NULL)
--
2.16.1
next prev parent reply other threads:[~2018-02-16 9:54 UTC|newest]
Thread overview: 31+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-02-09 16:08 [PATCH] Improve dead code elimination with -fsanitize=address (PR84307) Paolo Bonzini
2018-02-09 16:40 ` Richard Biener
2018-02-09 17:23 ` Paolo Bonzini
2018-02-09 18:01 ` Richard Biener
2018-02-09 18:37 ` Jakub Jelinek
2018-02-09 20:10 ` Richard Biener
2018-02-12 8:57 ` Richard Biener
2018-02-12 12:02 ` Paolo Bonzini
2018-02-12 12:10 ` Jakub Jelinek
2018-02-13 9:33 ` Fallout: PR84340 Martin Liška
2018-02-13 11:16 ` Paolo Bonzini
2018-02-13 13:49 ` Jakub Jelinek
2018-02-13 14:49 ` Jakub Jelinek
2018-02-13 15:22 ` Paolo Bonzini
2018-02-13 16:48 ` Martin Liška
2018-02-16 9:54 ` Martin Liška [this message]
2018-02-16 10:49 ` Jakub Jelinek
2018-02-16 10:58 ` Martin Liška
2018-02-16 15:49 ` Jakub Jelinek
2018-02-12 23:41 ` [PATCH] Improve dead code elimination with -fsanitize=address (PR84307) Paolo Bonzini
2018-02-13 11:49 ` Jakub Jelinek
2018-02-13 12:55 ` Paolo Bonzini
2018-02-13 13:49 ` Jakub Jelinek
2018-02-13 14:29 ` Paolo Bonzini
2018-02-09 18:37 ` Jakub Jelinek
2018-02-13 18:49 ` Jakub Jelinek
2018-02-14 21:49 ` [PATCH] Fix up compound literal handling in C FE (PR sanitizer/84307) Jakub Jelinek
2018-02-14 22:03 ` Joseph Myers
2018-02-26 10:01 ` Martin Liška
2018-02-26 10:49 ` Jakub Jelinek
2018-02-26 10:05 ` Martin Liška
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=e47805a7-cf85-982c-8995-83f6a0aad528@suse.cz \
--to=mliska@suse.cz \
--cc=bonzini@gnu.org \
--cc=gcc-patches@gcc.gnu.org \
--cc=jakub@redhat.com \
--cc=marcandre.lureau@redhat.com \
--cc=richard.guenther@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).