mirror of
https://github.com/Z3Prover/z3
synced 2025-08-08 12:11:23 +00:00
fix stack overflow regression in bool_rewriter
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
3526d03cca
commit
6ea68310c9
3 changed files with 17 additions and 12 deletions
|
@ -775,8 +775,7 @@ br_status bool_rewriter::mk_eq_core(expr * lhs, expr * rhs, expr_ref & result) {
|
|||
std::swap(lhs, rhs);
|
||||
|
||||
if (m().is_not(lhs, lhs)) {
|
||||
mk_eq(lhs, rhs, result);
|
||||
mk_not(result, result);
|
||||
result = m().mk_not(m().mk_eq(lhs, rhs));
|
||||
return BR_REWRITE2;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue