mirror of
https://github.com/Z3Prover/z3
synced 2025-04-24 09:35:32 +00:00
left over bugs #5532
disabling complete const rewriting (temporarily) as it can loop
This commit is contained in:
parent
be4df46f6f
commit
93415740b6
2 changed files with 6 additions and 1 deletions
|
@ -195,10 +195,14 @@ bool rewriter_tpl<Config>::visit(expr * t, unsigned max_depth) {
|
|||
if (process_const<ProofGen>(to_app(t)))
|
||||
return true;
|
||||
TRACE("rewriter_const", tout << "process const: " << mk_bounded_pp(t, m()) << " -> " << mk_bounded_pp(m_r, m()) << "\n";);
|
||||
#if 1
|
||||
#else
|
||||
// disabled pending fix for loop/stack overflow in case of recursive expansion (possible)
|
||||
rewriter_tpl rw(m(), false, m_cfg);
|
||||
expr_ref result(m());
|
||||
rw(m_r, result, m_pr);
|
||||
m_r = result;
|
||||
#endif
|
||||
set_new_child_flag(t, m_r);
|
||||
result_stack().push_back(m_r);
|
||||
return true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue