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

--- Comment #4 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-16 branch has been updated by Jakub Jelinek
<[email protected]>:

https://gcc.gnu.org/g:13631c446806527c9aad99c3d2c1536c1c950cd1

commit r16-9321-g13631c446806527c9aad99c3d2c1536c1c950cd1
Author: Jakub Jelinek <[email protected]>
Date:   Mon Jul 20 23:32:40 2026 +0200

    c++: implement CWG3020 - Missing specification for
__has_cpp_attribute(indeterminate) [PR126309]

    The paper which introduced indeterminate attribute has not added a value
    for __has_cpp_attribute, so I've missed it and didn't add it to
    c_common_has_attribute.  Later CWG issue fixed this up.

    2026-07-20  Jakub Jelinek  <[email protected]>

            PR c++/126309
            * c-lex.cc: Implement CWG3020 - Missing specification for
            __has_cpp_attribute(indeterminate).
            (c_common_has_attribute): Handle __has_cpp_attribute
(indeterminate).

            * g++.dg/cpp26/feat-cxx26.C: Test __has_cpp_attribute
(indeterminate).

    Reviewed-by: Jason Merrill <[email protected]>
    (cherry picked from commit 71a5a83ea92f4cde1ca2b37f3b160353a729f35b)

Reply via email to