Skip to content

Error handling cleanup in solvers/floatbv #2945

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

Merged

Conversation

danpoe
Copy link
Contributor

@danpoe danpoe commented Sep 13, 2018

No description provided.

Copy link
Contributor

@allredj allredj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Passed Diffblue compatibility checks (cbmc commit: 9df60c6).
Build URL: https://travis-ci.com/diffblue/test-gen/builds/84700185

@@ -810,9 +812,9 @@ exprt float_bvt::relation(
not_exprt(nan));
}
else
assert(0);
UNREACHABLE;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe this else branch should just be removed? It's redundant with the code afterwards.

@@ -646,15 +644,16 @@ literalt float_utilst::relation(
!NaN);
}
else
assert(0);
UNREACHABLE;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Redundant with the code afterwards, just remove the else branch

@danpoe danpoe force-pushed the refactor/error-handling-solvers-floatbv branch from 9df60c6 to 98538b4 Compare September 24, 2018 13:11
@tautschnig tautschnig assigned kroening and martin-cs and unassigned danpoe Sep 24, 2018
Copy link
Contributor

@allredj allredj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Passed Diffblue compatibility checks (cbmc commit: 98538b4).
Build URL: https://travis-ci.com/diffblue/test-gen/builds/85736377

@tautschnig tautschnig assigned danpoe and unassigned kroening and martin-cs Oct 3, 2018
@danpoe danpoe force-pushed the refactor/error-handling-solvers-floatbv branch from 98538b4 to 0dce179 Compare October 4, 2018 11:51
Copy link
Contributor

@allredj allredj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Passed Diffblue compatibility checks (cbmc commit: 0dce179).
Build URL: https://travis-ci.com/diffblue/test-gen/builds/86879780

@danpoe danpoe merged commit 521c6b9 into diffblue:develop Oct 4, 2018
@danpoe danpoe deleted the refactor/error-handling-solvers-floatbv branch June 2, 2020 17:13
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.

6 participants