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
Binding non-alias arguments with type parameters fails in llvm #375
Comments
ghost
assigned brson
May 17, 2011
It appears to only happen for non-alias bound arguments with type parameters. |
I committed a workaround for the issue in the standard library, but it can still be reproduced with the provided test case |
Optimization no longer needs to be disabled to reproduce this |
A very reduced test case: fn oops[A](@A x) { bind oops(x); } |
ghost
assigned msullivan
Jul 8, 2011
Closed by #645. |
dlrobertson
pushed a commit
to dlrobertson/rust
that referenced
this issue
Nov 29, 2018
fix some link fragments
antoyo
added a commit
to antoyo/rust
that referenced
this issue
Oct 27, 2023
Make build scripts work with rust bootstrap
calebzulawski
added a commit
to calebzulawski/rust
that referenced
this issue
Nov 19, 2023
Simplify bitmasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
make stage2/std.o CFG_DISABLE_OPTIMIZE=1
results in the following:The following test cases reproduces:
And fails with the following:
The code generated for the thunk in the test case looks like:
Note that this only happens when generating unoptimized code - the verifier runs after the optimizer, which seems to hide problems in code generation.
The text was updated successfully, but these errors were encountered: