-
Notifications
You must be signed in to change notification settings - Fork 145
Fix rewrites for the cpp backend #1509
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
Conversation
Test Results 16 files 35 suites 0s ⏱️ Results for commit c593f2a. ♻️ This comment has been updated with latest results. |
|
If I check out your RISC-V PR and built it with this commit, then |
Set the target name in the rewrites to 'cpp' for the C++ backend.
d0d5864 to
4ad7655
Compare
|
Ah I think probably it was getting confused with the missing |
|
Hmm not sure why the tests are still failing though... |
|
I think they just needed a |
* Fix rewrites for the cpp backend Set the target name in the rewrites to 'cpp' for the C++ backend. * Adjust failing C++ tests
CHANGES: This is bugfix release for Sail 0.20. It includes fixes for the following issues, among others: * rems-project/sail#1532 * rems-project/sail#1529 * rems-project/sail#1512 * rems-project/sail#1509 * rems-project/sail#1554 It also includes various improvements to the Sail formatter, and some improvements to the loop syntax that should make while and foreach loops slightly more consistent. This point release also includes the change that unifies the `bit` type with the `bits(1)` type. In principle, this means that strictly more programs should be permitted than before, so we have decided to forgo a major version increment for this. The change may be noticable to those using Sail generated theorem prover definitions.
I noticed a weird issue with the C++ backend (RISC-V PR). Basically where we have something like this:
It was no longer using the external
cppversion and instead always falling back to the Sail= falseimplementation. If I comment out thefunction get_config_print_instr () = falsethen it works fine.This PR fixes that.