-
Notifications
You must be signed in to change notification settings - Fork 12
Subprogram body stub #245
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
Subprogram body stub #245
Conversation
b0e9be1
to
b1a4866
Compare
b1a4866
to
9d45d43
Compare
I have rebased this branch to diffblue/master |
144e42f
to
27bf078
Compare
I have rebased this on PR #220 as this fix is required for this branch. It passes the regression tests and I have updated the golden results |
Should that be rebased on to #256 ? |
27bf078
to
d1483bb
Compare
The gnat front end ensures that the subunit corresponding to a body stub exists and checks it semantically.
d1483bb
to
2e5c86f
Compare
@martin-cs - yeah, it's been rebased on master now #256 has been merged. |
…n_results Update golden results
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good.
UKNI has subprogram_body_stubs. The changes on this branch facilitate handling of these stubs by gnat2goto.
The test program which has been added to the regression tests for this new feature, P, has an assertion I think should succeed (if overflows are ignored), but it seems at the moment that the assertion fails. The action of the called subprogram, Inc, does not seem to be considered by cbmc.
Should I mark this with an XFAIL? If so I think I should have another test without the assertion so that the subprogram_body_stub feature is always tested.