https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114007
--- Comment #30 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Should be now fixed for GCC 13.3+ too, though in that case I've committed a simplified version, which just parses the adjacent :: in __has_*attribute argument, but yields in that case 0 in the strict pre-C23 modes, while [[vendor::attr]] is rejected there.