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

GC issues under clang compile time optimizations #20

Open
felixSchl opened this Issue Sep 11, 2018 · 0 comments

Comments

1 participant
@felixSchl
Copy link
Collaborator

felixSchl commented Sep 11, 2018

Branch bug/clang-opts demonstrates a minimal program to reproduce GC issues due to compile time optimization (any level of optimization appears to trigger this). Note that the various random seeming pure units need to be there to trigger the issue. I have a hunch it's related to type-classes (or hash maps, more generally speaking) - hence the monomorphic versions of bind, pure, and discard for Effect.)

For example, on my machine the example program prints: "test: append" as opposed to "test: quark", for example when compiled with -O3.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment