https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121733
--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to Pali Rohár from comment #2) > Maybe stupid idea, but would not it be possible to undefine INVOKE__main > when building gcc for *-w64-mingw32 platform? INVOKE__main is not defined here but rather none of the other macros (HAS_INIT_SECTION, INIT_SECTION_ASM_OP, INIT_ARRAY_SECTION_ASM_OP) are defined.
