https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108300
--- Comment #10 from LIU Hao <lh_mouse at 126 dot com> --- (In reply to Arsen Arsenović from comment #9) > (In reply to LIU Hao from comment #8) > > The commit above just lets GCC bootstrap on Windows. The cause of this issue > > is still there. > > > > Maybe it's possible to replace all direct calls to `abort()` in gcc and > > libcpp with `fancy_abort (__FILE__, __LINE__, __FUNCTION__)`, and eventually > > get rid of that macro. > > See Jonathans comment above. I'll do that refactor this week, likely. I think Jonathan's proposal makes it unnecessarily complex. Renaming `abort` to `gcc_fancy_abort`, as well as all invocations accordingly, should be much simpler than those inline functions and `__builtin_*` stuff.