https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114007
--- Comment #24 from Jakub Jelinek <jakub at gcc dot gnu.org> --- (In reply to fxcoud...@gmail.com from comment #19) > I haven’t yet tested Xcode 13.3 myself, and have only followed the PRs from > far away. Are there any issues (SDK, linker, or otherwise) that we need to > report to Apple? Or that are already reported but we want taken more > seriously? Do they use [[clang::unsafe_buffer_usage]] then if __has_safe_buffers is defined even in -std=c11 etc. modes in the headers? Even clang errors on [[clang::unsafe_buffer_usage]] with -std=c11 -pedantic-errors... Though, guess not an issue for GCC itself, because if the parsing of __has_cpp_attribute is fixed, then GCC definitely will not yield 1 for clang::unsafe_buffer_usage attribute...