-
Notifications
You must be signed in to change notification settings - Fork 62
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
[herd] Warnings -- fatal or not? #646
Comments
By the way, happy to investigate further and attempt a fix if necessary -- I think a similar issue arose in #573 at some point with some other warning. This is just to record the issue and to confirm if it is even a bug rather than a feature. |
Hi @artkhyzha. On the long run, we'll probably need to have explicit (i.e. non-label or integer) code pointers as values. For now, if the model indeed rejects executions where Notice that PR #676 is not merged yet. |
Thanks, @maranget -- the approach of #676 does look interesting. I agree that having code pointers could be handy in such a case, and the overall strategy of delaying an error seems right. I'll have a closer look at #676. Last week I tried my hand at a very simple workaround in #684. Basically, what triggers a user error in this test is the |
Hi @artkhyzha. At the moment, errors are delayed until the second phase of equation solving, i.e. the final phase, once memory read-from relations is selected. As a result, as in the case of your example, an execution candidate that raises a fatal error and that would be discarded by the model does raise the error and interrupts the program. There must be reasons to do so :) However, I am going to submit a PR that would delay errors until after model verification. As for this issue and the associated PR #684. I think the solution to have comparisons of labels and integers always to be false is a decent and efficient patch. If your code does so, may I suggest removing the draft status and ask for a final review. |
Seems unrelated to this PR, but is the following behaviour buggy?
The following test is a modification of something that came up in #612, but is probably unrelated to that PR; hence recording this as a separate issue.
Presumably, the model does not allow executions where
1:X1=0
; however,herd7
might be creating a fatal warning before this knowledge is available. I conjecture that at a point inherd7
's flow before the application of the cat model,CMP X1,X4
triggers the fatal error.Should this error be deferred until after the cat constraints are applied?
The text was updated successfully, but these errors were encountered: