https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109653
--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> --- That change was completely intentional, previously for some of the well known attribute names from random other namespaces we were handling them like the gnu or standard ones, which is obviously wrong, we don't really know anything about some other vendor wants to treat them. Generally, one can use e.g. -Wno-attributes=clang:: to avoid warnings about clang:: namespace attributes, but in this case it warns anyway. Maybe we should filter away the -Wno-attributes= in the statement cases as well, rather than just in the more usual attribute spots.