This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug sanitizer/61978] implement blacklist for sanitizer
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 01 Aug 2014 11:13:18 +0000
- Subject: [Bug sanitizer/61978] implement blacklist for sanitizer
- Auto-submitted: auto-generated
- References: <bug-61978-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61978
--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
(In reply to Daniel Pinol from comment #3)
> #if defined(__has_feature)
> # if __has_feature(address_sanitizer)
> __attribute__((no_sanitize_address))
> # endif
> #endif
> void triggerLang(ReemWindow &win, config::Language const &lang)
is not adding the attribute at all. GCC doesn't support the clangism
__has_feature. Just add the attribute unconditionally, uknown attributes just
cause a warning, and 4.8+ supports that attribute.