aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2021-06-14 10:58:15 +0100
committerJonathan Wakely <jwakely@redhat.com>2021-06-14 11:53:29 +0100
commit917efba2dd4ff34336d0d3aa55285ae22503e4aa (patch)
tree143cc46d9c9bef9b33d14e137da7fb460bf0ae9e /gcc
parent08ce1f4c5091b80b680d15c53a17237544a3cca8 (diff)
downloadgcc-917efba2dd4ff34336d0d3aa55285ae22503e4aa.zip
gcc-917efba2dd4ff34336d0d3aa55285ae22503e4aa.tar.gz
gcc-917efba2dd4ff34336d0d3aa55285ae22503e4aa.tar.bz2
libstdc++: Use reserved name for attribute [PR101055]
The no_unique_address attribute is not a reserved name until C++20, so to use it in C++11/14/17 modes we should use the __no_unique_address_ form. We already use that form when using the attribute, but not in the __has_cpp_attribute check. libstdc++-v3/ChangeLog: PR libstdc++/101055 * include/std/tuple: Use reserved form of attribute name. * testsuite/17_intro/headers/c++2011/all_attributes.cc: Add check for no_unique_address. * testsuite/17_intro/headers/c++2014/all_attributes.cc: Likewise. * testsuite/17_intro/headers/c++2017/all_attributes.cc: Likewise.
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions