In sdcc revision #9253, the regression test gcc-torture-execute-divcmp-1 gives me a segfault in the z80-related ports and the stm8 port. I used current 64-bit Cygwin on Windows 7.
Philipp
P.S.: We already have open bugreports #2277 and #2345 for a similar issue on OpenBSD and NetBSD.
I have also attached the error log in bug #2345.
Last edit: Ben Shi 2015-07-22
This issue only happened on cygwin64, while cygwin32 is normal.
Hmm, could this be a stack size issue? Windows has a smaller default stack size limit compared to most Unices these days.
Philipp
By modification of src/Makefile.in
LDFLAGS = -Wl,--stack,4194304
there is no crash any more.
Though the single crashed test case passed, I will do a full regression test with this flag.
Fixed in reversion #9300.