-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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: Failed to normalize, maybe try to call try_normalize_erasing_regions
instead
#110682
Comments
uuh cc @saethlin |
For repro: |
You're right that this ICEs after my PR but not before, but this looks like an issue related to type system code or |
Ah so it would have iced before if we had forced inlining before? |
Yes, with enough application of |
Is there some rustc flag I can use to force inlining of like ~ everything ~ for testing purposes? 👀 edit: -Zinline-mir-threshold=0 or something like that? :D |
Also just FYI there's also an inlining depth limit that's not configurable, but it shouldn't be relevant for this PR. But if you see unexpected missed inlinings even with passing those flags, that threshold might be why. |
Oh, those flags won't help you before the PR in question, because functions without You can pass |
The mir opt level is cranked up already anyway https://github.com/matthiaskrgr/icemaker/blob/master/src/flags.rs#L137 I'll be able to report back in an hour or so I guess ^^ |
Meh besides a couple more "hangs" (process timeouts) nothing new in the standard rustc test set :/ |
This is a dupe of #106444 I believe |
Another reproducer (possibly large): Run Failing CI log: https://github.com/inducer/starlark-pyo3/actions/runs/4842247863/jobs/8629074779 |
I've been getting this too since about a month ago:
I can do a bisect. |
Code
I found this ICE while compiling
bitvec 0.19.6
in release mode.https://github.com/ferrilab/bitvec/tree/v0/19/6
Meta
rustc --version --verbose
:Error output
Backtrace
bisect command:
bisect result: #109247
Regression in 5546cb6
The text was updated successfully, but these errors were encountered: