This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug sanitizer/61978] implement blacklist for sanitizer


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]