diff --git a/src/util/simplify_expr.cpp b/src/util/simplify_expr.cpp index 51957f07e9b..03e88cb4bf3 100644 --- a/src/util/simplify_expr.cpp +++ b/src/util/simplify_expr.cpp @@ -2975,7 +2975,8 @@ simplify_exprt::resultt<> simplify_exprt::simplify_rec(const exprt &expr) } else // change, new expression is 'tmp' { - POSTCONDITION(as_const(tmp).type() == expr.type()); + POSTCONDITION_WITH_DIAGNOSTICS( + as_const(tmp).type() == expr.type(), tmp.pretty(), expr.pretty()); #ifdef USE_CACHE // save in cache