-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Codegen regression on master #13647
Comments
⏳ |
Minimal reproducer (sorry, no clocks): julia> immutable X
a::Int
b::Bool
end
julia> function f(x)
z = false
z = x
x === z
end;
julia> f(X(1, false))
Assertion failed: (Ty && "Invalid GetElementPtrInst indices for type!"), function checkGEPType, file /usr/local/julia/usr/include/llvm/IR/Instructions.h, line 704.
signal (6): Abort trap: 6
__pthread_kill at /usr/lib/system/libsystem_kernel.dylib (unknown line)
fish: Job 1, 'julia' terminated by signal SIGABRT (Abort)
|
simonster
added a commit
that referenced
this issue
Oct 16, 2015
vtjnash
added a commit
that referenced
this issue
Oct 16, 2015
Fix #13647, comparing boxed isbits immutables
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Sorry for the vague title, but I'm not sure what the problem is.
Here is a MWE:
With the second field un-annotated,
eigs
throws an expected error:With the annotation,
codegen.cpp
vomits on master:0.4 correctly throws the "no convert method" error in both cases.
(Discovered by @malmaud in CoolClocks.jl)
The text was updated successfully, but these errors were encountered: