-
Notifications
You must be signed in to change notification settings - Fork 412
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Perhaps GC_push_regs was configured incorrectly (Cygwin/gcc-11) #428
Comments
Reproduced also if added: -D HAVE_BUILTIN_UNWIND_INIT |
May also lead to "List reversal produced incorrect list - collector is broken" error in gctest (seems to be the same root cause). |
In the following config, it is reproduced in ~1/30 runs: |
Probably should be fixed by #566 (although I am not sure gcc-11 has the mentioned optimization) |
Source: master (cfb325f)
Host: Win64 (Cygwin64)
Compiler: gcc (GCC) 11.2.0
How to reproduce: gcc -O3 -I include -D GC_ASSERTIONS tests/gctest.c extra/gc.c && a.exe
Output:
Switched to incremental mode
Emulating dirty bits with mprotect/signals
Apparently failed to mark from some function arguments.
Perhaps GC_push_regs was configured incorrectly?
Test failed
Also reproduced with: -D GC_DISABLE_INCREMENTAL
Not reproduced with -O2 (or lower) or w/o -D GC_ASSERTIONS
The text was updated successfully, but these errors were encountered: