Skip to content

Fix _Bool preincrement #7049

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
merged 1 commit into from
Aug 3, 2022
Merged

Fix _Bool preincrement #7049

merged 1 commit into from
Aug 3, 2022

Conversation

kroening
Copy link
Member

@kroening kroening commented Jul 31, 2022

  • Each commit message has a non-empty body, explaining why the change was made.
  • n/a Methods or procedures I have added are documented, following the guidelines provided in CODING_STANDARD.md.
  • n/a The feature or user visible behaviour I have added or modified has been documented in the User Guide in doc/cprover-manual/
  • Regression or unit tests are included, or existing tests cover the modified code (in this case I have detailed which ones those are in the commit message).
  • n/a My commit message includes data points confirming performance improvements (if claimed).
  • My PR is restricted to a single feature or bugfix.
  • n/a White-space or formatting changes outside the feature-related changed lines are in commits of their own.

@kroening kroening changed the title Fix bool preincrement Fix _Bool preincrement Jul 31, 2022
@codecov
Copy link

codecov bot commented Jul 31, 2022

Codecov Report

Merging #7049 (4d215fa) into develop (438aad3) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@           Coverage Diff            @@
##           develop    #7049   +/-   ##
========================================
  Coverage    77.88%   77.88%           
========================================
  Files         1569     1569           
  Lines       180989   180995    +6     
========================================
+ Hits        140962   140968    +6     
  Misses       40027    40027           
Impacted Files Coverage Δ
src/goto-programs/goto_convert_side_effect.cpp 95.21% <100.00%> (+0.07%) ⬆️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@kroening kroening force-pushed the fix_bool_preincrement branch from efd596e to dff9ffb Compare August 2, 2022 10:14
@kroening kroening marked this pull request as ready for review August 2, 2022 14:09
This fixes an issue with preincrement on _Bool during the conversion to goto
programs.
@kroening kroening force-pushed the fix_bool_preincrement branch from dff9ffb to 4d215fa Compare August 3, 2022 06:38
@tautschnig tautschnig merged commit 72303a7 into develop Aug 3, 2022
@tautschnig tautschnig deleted the fix_bool_preincrement branch August 3, 2022 12:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants