Skip to content
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

Lem and Coq fixes for C test suite #347

Merged
merged 20 commits into from
Oct 5, 2023
Merged

Conversation

bacam
Copy link
Contributor

@bacam bacam commented Oct 5, 2023

No description provided.

bacam added 20 commits October 5, 2023 17:32
It's used as a type checking hint, so dropping it causes later
checking phases to fail.
- hex_str_upper primitive
- tweak a couple of tests
- check stderr output
- add more expected failures
Necessary to avoid redundant patterns which aren't allowed in Coq.
- field names should always use id rewriting
- parens in cons exps/pats
- max_int and min_int built-ins
Necessary for some of the C tests suite; useful for warnings.
- rewrite complex patterns in top-level let bindings
- print recursive function with implicit decreasing arguments properly
- avoid built-in type "vec"
- rerun effect inference when exhaustivity rewrite introduces a match
  failure
- don't generate autocast for an argument with an existentially bound size
- correct Coq built-ins in several tests
- add expected test failures
Fixes a bug where a bitfield called (eg) B1 was renamed to B1' to avoid
a clash, but one place used B1_bits and another B1'_bits
@bacam bacam merged commit 6683980 into rems-project:sail2 Oct 5, 2023
2 checks passed
@bacam bacam deleted the c-test-fixes branch October 5, 2023 17:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant