-
Notifications
You must be signed in to change notification settings - Fork 53
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
Confusing error message with useless spill #778
Comments
Debugging with Benjamin, we discovered that we don't need
There are two orthogonal problems:
|
The first problem is duplicate of #680. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The compilation of this program
fails with error
The spill is useless, but should the compiler fail? And the error message is wrong, the variable is not used, but it is initialized.
Using
AT_none
in the code generated byspill_prog
(as hinted by the FIXME in lower_spill.v) fixes the issue. It enables the compiler to remove the useless spills. Is this the correct fix?The text was updated successfully, but these errors were encountered: