Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions src/cprover/axioms.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,13 @@ void axiomst::evaluate_fc()
if(a_it->state() != b_it->state())
continue;

// Skip pairs with incompatible address types — they can never
// point to the same location.
Comment on lines +68 to +69
if(a_it->address().type() != b_it->address().type())
continue;
Comment on lines +70 to +71

auto a_op = a_it->address();
auto b_op = typecast_exprt::conditional_cast(
b_it->address(), a_it->address().type());
auto b_op = b_it->address();
auto operands_equal = equal_exprt(a_op, b_op);
auto implication = implies_exprt(
operands_equal,
Expand Down
Loading