-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
ICE on &*"string"
#30386
Labels
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
Comments
huonw
added
the
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
label
Dec 15, 2015
Trace for completeness:
|
steveklabnik
added a commit
to rust-lang/glacier
that referenced
this issue
Dec 17, 2015
Similar to (or duplicate of) #22894. |
This ICE seems to be fixed on
I have a hunch that this is due to MIR being turned on, though I'm not sure. Please let me know if this still ICEs for you, but closing for now 🎊 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
STR:
Result:
This is from
trans/consts.rs
around line 462. I did some poking around in gdb; for"string"
and*"string"
the value ofllconst
is the pointer/len tuple, but for&*"string"
it's a pointer to that tuple (seen above), which is wrong.The value of
opt_adj
is alwaysNone
(assuming the breakpoints and debug info are working as expected), which… it's been a long time since I looked at anything in this area, but I vaguely remember adjustments as being about this kind of situation, and it particular it looks likeAdjustDerefRef
ought to be relevant?The text was updated successfully, but these errors were encountered: