https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93545
--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> --- __has_attribute doesn't ICE though. The difference is that it is using get_token_no_padding (c-family version), which first tries to use cpp_peek_token and doesn't swallow CPP_EOF.