aboutsummaryrefslogtreecommitdiff
path: root/newlib/libc/include/stdatomic.h
diff options
context:
space:
mode:
authorrlibby <rlibby@FreeBSD.org>2019-12-21 02:43:20 +0000
committerSebastian Huber <sebastian.huber@embedded-brains.de>2020-10-26 14:18:46 +0100
commitb9af5041bd5662748e060d7b716c18a224d91254 (patch)
tree85ff8c44f56620b0d1ca52d434c0e492c5347aaf /newlib/libc/include/stdatomic.h
parentb9967c3f9040c25efe0a67b59dbd05ee79d0a97d (diff)
downloadnewlib-b9af5041bd5662748e060d7b716c18a224d91254.zip
newlib-b9af5041bd5662748e060d7b716c18a224d91254.tar.gz
newlib-b9af5041bd5662748e060d7b716c18a224d91254.tar.bz2
gcc: quiet Wattribute for no_sanitize("address")
This is an unfortunate instance where the __has_attribute check does not function usefully. Gcc does have the attribute, but for gcc it only applies to functions, not variables, and trying to apply it to a variable generates Wattribute. So far we only apply the attribute to variables. Only enable the attribute for clang, for now. Reviewed by: Anton Rang <rang at acm.org> Sponsored by: Dell EMC Isilon Differential Revision: https://reviews.freebsd.org/D22875
Diffstat (limited to 'newlib/libc/include/stdatomic.h')
0 files changed, 0 insertions, 0 deletions