You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
x-maintenance-intent: ["(latest)" "(latest).(latest-1)"] # also keep previous minor version (with two releases per year, always keep a SV-COMP release)
Copy file name to clipboardExpand all lines: goblint.opam.template
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@
3
3
x-maintenance-intent: ["(latest)" "(latest).(latest-1)"] # also keep previous minor version (with two releases per year, always keep a SV-COMP release)
(* split nested LOr Eqs to equality pairs, if possible *)
658
658
letrec split=function
659
659
(* copied from above to support pointer equalities with implicit casts inserted *)
660
-
|BinOp (Eq, CastE (t1, e1), CastE (t2, e2), typ) when typeSig (Cilfacade.typeOf e1) = typeSig (Cilfacade.typeOf e2) &&VD.is_statically_safe_cast t1 (Cilfacade.typeOf e1) &&VD.is_statically_safe_cast t2 (Cilfacade.typeOf e2) -> (* slightly different from eval_rv_base... *)
660
+
|BinOp (Eq, CastE (_, t1, e1), CastE (_, t2, e2), typ) when typeSig (Cilfacade.typeOf e1) = typeSig (Cilfacade.typeOf e2) &&VD.is_statically_safe_cast t1 (Cilfacade.typeOf e1) &&VD.is_statically_safe_cast t2 (Cilfacade.typeOf e2) -> (* slightly different from eval_rv_base... *)
661
661
Some [(e1, e2)]
662
662
|BinOp (Eq, arg1, arg2, _) ->
663
663
Some [(arg1, arg2)]
@@ -835,7 +835,7 @@ struct
835
835
|_ -> assertfalse
836
836
end
837
837
|Const_ , _ -> st (* nothing to do *)
838
-
|CastE (t, e), c_typed ->
838
+
|CastE (k, t, e), c_typed ->
839
839
beginmatchCil.unrollType t, c_typed with
840
840
|TFloat (_, _), Floatc ->
841
841
(match unrollType (Cilfacade.typeOf e), FD.get_fkind c with
@@ -864,7 +864,7 @@ struct
864
864
fallback (fun() -> Pretty.dprintf "CastE: %a evaluates to %a which is bigger than the type it is cast to which is %a" d_plainexp e ID.pretty i CilType.Typ.pretty t) st
865
865
|x -> fallback (fun() -> Pretty.dprintf "CastE: e did evaluate to Int, but the type did not match %a"CilType.Typ.pretty t) st)
866
866
|v -> fallback (fun() -> Pretty.dprintf "CastE: e did not evaluate to Int, but %a"VD.pretty v) st)
867
-
|_, _ -> fallback (fun() -> Pretty.dprintf "CastE: %a not implemented" d_plainexp (CastE (t, e))) st
867
+
|_, _ -> fallback (fun() -> Pretty.dprintf "CastE: %a not implemented" d_plainexp (CastE (k, t, e))) st
868
868
end
869
869
|e, _ -> fallback (fun() -> Pretty.dprintf "%a not implemented" d_plainexp e) st
0 commit comments