libstdc++: Use reserved name for C++20 attribute
authorJonathan Wakely <jwakely@redhat.com>
Mon, 19 Oct 2020 16:57:14 +0000 (17:57 +0100)
committerJonathan Wakely <jwakely@redhat.com>
Mon, 19 Oct 2020 17:07:21 +0000 (18:07 +0100)
commitfc77484c4a4feb308c64371233cb65b280333953
tree3d758ef54b7fb06bab4761bf603a98c0b744ed2a
parentaa6d2be1e3455a5f0818d5bd6a44b15a55a39df5
libstdc++: Use reserved name for C++20 attribute

Although the compiler supports the [[no_unique_address]] attribute, it's
not a reserved name prior to C++20, so we can't use it in std::tuple.
Use [[__no_unique_address__]] instead.

libstdc++-v3/ChangeLog:

* include/std/tuple (_Head_base<Idx, Head, true>): Use reserved
form of __no_unique_address__ attribute because
no_unique_address is not reserved prior to C++20.
libstdc++-v3/include/std/tuple