https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92296
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org --- Comment #9 from Jakub Jelinek <jakub at gcc dot gnu.org> --- This actually isn't specific to __has_builtin, any of the following builtin macros ICE when used in #pragma push_macro ("MACRO"): __TIMESTAMP__ __TIME__ __DATE__ __FILE__ __BASE_FILE__ __LINE__ __INCLUDE_LEVEL__ __COUNTER__ __has_attribute __has_cpp_attribute __has_builtin _Pragma Surprisingly __STDC__ builtin macro doesn't ICE. I guess the ICE started with r164729.