As discovered by @jprotopopov-ut, Goblint can output location_invariant at a switch case label.
This is not allowed by the YAML witness format: it's not be first character of a statement.
Also, inserting an assertion there would not mean the right thing: the assertion would be the last thing in the previous case.
Internally, these probably come from internal if branching nodes from a CIL-converted switch.
Not sure if we have enough information available in Goblint to distinguish the original source of the branchings.
As discovered by @jprotopopov-ut, Goblint can output
location_invariantat aswitchcaselabel.This is not allowed by the YAML witness format: it's not be first character of a statement.
Also, inserting an assertion there would not mean the right thing: the assertion would be the last thing in the previous
case.Internally, these probably come from internal
ifbranching nodes from a CIL-convertedswitch.Not sure if we have enough information available in Goblint to distinguish the original source of the branchings.