Skip to content
Merged
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
4 changes: 4 additions & 0 deletions src/goto-symex/goto_symex_state.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -125,8 +125,12 @@ bool goto_symex_statet::constant_propagation(const exprt &expr) const
{
// propagate stuff with sizeof in it
forall_operands(it, expr)
{
if(it->find(ID_C_c_sizeof_type).is_not_nil())
return true;
else if(!constant_propagation(*it))
return false;
}

return true;
}
Expand Down