-
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
regression: hang with -Zsave-analysis #101505
Comments
reduced: fn a(self) {} RIP |
I think this is caused by #101228 cc @nnethercote |
Clearly a well tested feature 😛 I'll take a look. |
The old code looked like this:
The new code looks like this:
because The infinite recursion happens because the
An easy fix is to check if @petrochenkov: Is it an underlying bug that |
Code
I tried this code:
with rustc
rustc 1.65.0-nightly (c07a8b4e0 2022-08-26)
this runs in a couple ms:rustc ./a.rs --crate-type=lib -Zsave-analysis -Ztime=yes -Ztime-passes=yes
with rustc
rustc 1.65.0-nightly (3c7278846 2022-09-06)
this seems to hang somewhere insave-analysis
( I killed the process after waiting for 5 minutes 🙃 )
The text was updated successfully, but these errors were encountered: