-
Notifications
You must be signed in to change notification settings - Fork 8
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
Scalars with size greater than 57 bit #238
Labels
generator
Related to generator package (SPARK code generation)
Comments
The failing precondition is needed to prevent some overflows in the implementation of |
treiher
added
bug
generator
Related to generator package (SPARK code generation)
labels
May 14, 2020
treiher
changed the title
Integers with size greater than 57 bit result in failing precondition
Scalars with size greater than 57 bit
May 28, 2020
treiher
added a commit
that referenced
this issue
May 29, 2020
treiher
added a commit
that referenced
this issue
May 29, 2020
treiher
added a commit
that referenced
this issue
May 29, 2020
treiher
added a commit
that referenced
this issue
May 29, 2020
treiher
added a commit
that referenced
this issue
May 29, 2020
treiher
added a commit
that referenced
this issue
Jun 2, 2020
treiher
added a commit
that referenced
this issue
Jun 2, 2020
treiher
added a commit
that referenced
this issue
Jun 2, 2020
treiher
added a commit
that referenced
this issue
Jun 10, 2020
treiher
added a commit
that referenced
this issue
Jun 17, 2020
treiher
added a commit
that referenced
this issue
Jun 17, 2020
treiher
added a commit
that referenced
this issue
Jun 19, 2020
treiher
added a commit
that referenced
this issue
Jun 22, 2020
treiher
added a commit
that referenced
this issue
Jun 22, 2020
treiher
added a commit
that referenced
this issue
Jul 23, 2020
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
rflx-test-generic_message.adb:184:48: medium: precondition might fail, cannot prove Natural (((Offset'Pos (Ofst) + Value'Size - 1) / Byte'Size) * Byte'Size) < Long_Integer'Size - 1, in instantiation at rflx-test-message.ads:6
While the generated code for the simple example shown above can be successfully verified for integers up to a size of 57 bit, it fails with bigger ones. Increasing the proof steps and the timeout to
--steps=100000 --timeout=120
did not help.The text was updated successfully, but these errors were encountered: