This commit fixes bug 637 (
http://church.cims.nyu.edu/bugzilla3/show_bug.cgi?id=637 ) as
proposed in Bugzilla and adds the minified test case to the
regression tests.
indices.pop_back();
elements.pop_back();
}
+ Assert(n != node);
Trace("arrays-postrewrite") << "Arrays::postRewrite returning " << n << std::endl;
- return RewriteResponse(REWRITE_DONE, n);
+ return RewriteResponse(REWRITE_AGAIN, n);
}
}
break;
constarr.cvc \
constarr2.cvc \
constarr3.cvc \
- parsing_ringer.cvc
+ parsing_ringer.cvc \
+ bug637.delta.smt2
EXTRA_DIST = $(TESTS)
--- /dev/null
+(set-logic QF_ABV)
+(set-info :status unsat)
+(declare-fun x2 () (_ BitVec 32))
+(declare-fun a () (Array (_ BitVec 32) (_ BitVec 8)))
+(declare-fun x3 () (_ BitVec 32))
+
+(assert (not (=
+(store (store (store a x2 (select a (bvadd x2 (_ bv1 32))))
+ (bvadd x2 (_ bv1 32)) (select a (bvadd x2 (_ bv1 32))))
+ x2 (select a x2))
+
+ a)))
+(check-sat)
+(exit)