Skip to content

Make more loop statement locations synthetic#125

Merged
sim642 merged 3 commits intodevelopfrom
loc-synthetic-fix
Nov 16, 2022
Merged

Make more loop statement locations synthetic#125
sim642 merged 3 commits intodevelopfrom
loc-synthetic-fix

Conversation

@sim642
Copy link
Copy Markdown
Member

@sim642 sim642 commented Nov 15, 2022

Changes

  1. Make for loop initializer and incrementer statement locations synthetic, because they aren't valid locations for inserting assertions.
  2. Make while and do-while loop condition locations synthetic, because assertions can't be inserted at the loop head.
  3. Refactor location synthetization.

@sim642 sim642 added the bug label Nov 15, 2022
@sim642 sim642 added the cleanup label Nov 16, 2022
@sim642 sim642 marked this pull request as ready for review November 16, 2022 09:49
@sim642 sim642 merged commit 0c2c4ce into develop Nov 16, 2022
@sim642 sim642 deleted the loc-synthetic-fix branch November 16, 2022 12:29
@sim642 sim642 added this to the 2.0.1 milestone Nov 21, 2022
sim642 added a commit to sim642/opam-repository that referenced this pull request Nov 23, 2022
CHANGES:

* Fix scope of enum definition in return type (goblint/cil#112, goblint/cil#113).
* Fix signed integer left shift constant folding overflow (goblint/cil#122, goblint/cil#123).
* Fix `fitsInInt` for booleans (goblint/cil#111).
* Mark more loop statement locations synthetic (goblint/cil#125).
* Optimize integer truncation (goblint/cil#115).
* Fix FrontC and Cabs2cil partial application (goblint/cil#116).
* Fix external usage of `freshLabel` (goblint/cil#121).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants