re PR sanitizer/89124 (__attribute__((no_sanitize_address)) interferes with __attribu...
authorJakub Jelinek <jakub@redhat.com>
Thu, 31 Jan 2019 08:20:45 +0000 (09:20 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Thu, 31 Jan 2019 08:20:45 +0000 (09:20 +0100)
commit6206a883fe7a741dbb9e09d88255a170a75950f5
treef4ecfa951d1abeab8f4816a41a8447acb267d6ed
parentf4caead02f75bf6c2d1de2e35498fcf6a32936e2
re PR sanitizer/89124 (__attribute__((no_sanitize_address)) interferes with __attribute__((target(xxx))))

PR sanitizer/89124
* ipa-inline.c (sanitize_attrs_match_for_inline_p): Allow inlining
always_inline callees into no_sanitize_address callers.

* c-c++-common/asan/pr89124.c: New test.

From-SVN: r268415
gcc/ChangeLog
gcc/ipa-inline.c
gcc/testsuite/ChangeLog
gcc/testsuite/c-c++-common/asan/pr89124.c [new file with mode: 0644]