https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100494
--- Comment #11 from J.M. Eubank ---
Confirmed that building with a larger default stack size on Windows works to
bootstrap GCC and binutils and dependencies - I chose -Wl,--stack=10485760 (10
MiB) but probably 2-4 MiB would be sufficient.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100494
--- Comment #9 from J.M. Eubank ---
> I am unfamiliar with what mitigations/flags the compiler has for trying to
> control this. It would certainly be possible to monitor the call depth and
> cease at a certain point, but Im not sure what nee
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100494
--- Comment #7 from J.M. Eubank ---
Created attachment 51024
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51024&action=edit
sha1.c.038t.evrp.gz
> Does the compilation not finish? or just take ma very long time? On the
> other targets
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100494
--- Comment #5 from J.M. Eubank ---
Unfortunately it doesn't seem to have made a difference in this case.
x86_64-w64-mingw32-gcc -c -DHAVE_CONFIG_H -O2 -g -D__USE_MINGW_ACCESS -I.
-I/crossdev/src/binutils-git-2_36_1/libiberty/../include -W -
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100494
--- Comment #3 from J.M. Eubank ---
Yes, this definitely seems specific to the native x86_64-w64-mingw32 build.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100494
--- Comment #1 from J.M. Eubank ---
Created attachment 50781
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50781&action=edit
sha1-O2-save-temps
joeub@DESKTOP-1LUONFR MINGW64
/crossdev/gccmaster/build-cross4/binutils/libiberty
$ ls sha1-O
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100494
Bug ID: 100494
Summary: Unterminated recursion in gimple-range.cc
(x86_64-w64-mingw32)
Product: gcc
Version: 11.1.0
Status: UNCONFIRMED
Severity: normal