https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101055

--- Comment #3 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Jonathan Wakely <r...@gcc.gnu.org>:

https://gcc.gnu.org/g:917efba2dd4ff34336d0d3aa55285ae22503e4aa

commit r12-1420-g917efba2dd4ff34336d0d3aa55285ae22503e4aa
Author: Jonathan Wakely <jwak...@redhat.com>
Date:   Mon Jun 14 10:58:15 2021 +0100

    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.

Reply via email to