[Bug c/92296] [10 Regression] GCC build ICE on MinGW-w64. internal compiler error: Segmentation fault #pragma push_macro("__has_builtin")

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Oct 31 10:29:00 GMT 2019


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.


More information about the Gcc-bugs mailing list