Re: [committed] libstdc++: Use reserved name for attribute [PR101055]

2021-06-14 Thread Jonathan Wakely via Gcc-patches
On 14/06/21 11:54 +0100, Jonathan Wakely wrote: 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+

[committed] libstdc++: Use reserved name for attribute [PR101055]

2021-06-14 Thread Jonathan Wakely via Gcc-patches
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