https://gcc.gnu.org/bugzilla/show_bug.cgi?id=126309
--- Comment #3 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Jakub Jelinek <[email protected]>: https://gcc.gnu.org/g:71a5a83ea92f4cde1ca2b37f3b160353a729f35b commit r17-2575-g71a5a83ea92f4cde1ca2b37f3b160353a729f35b 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). * g++.dg/cpp29/feat-cxx29.C: Likewise. Reviewed-by: Jason Merrill <[email protected]>
