[Bug sanitizer/89124] __attribute__((no_sanitize_address)) interferes with __attribute__((target(xxx)))

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Jan 31 08:21:00 GMT 2019


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89124

--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Thu Jan 31 08:20:45 2019
New Revision: 268415

URL: https://gcc.gnu.org/viewcvs?rev=268415&root=gcc&view=rev
Log:
        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.

Added:
    trunk/gcc/testsuite/c-c++-common/asan/pr89124.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/ipa-inline.c
    trunk/gcc/testsuite/ChangeLog


More information about the Gcc-bugs mailing list