Skip to content

Commit 3e5abef

Browse files
fix #7549
1 parent e0945f5 commit 3e5abef

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

src/ast/rewriter/array_rewriter.cpp

+1-9
Original file line numberDiff line numberDiff line change
@@ -266,15 +266,7 @@ br_status array_rewriter::mk_select_same_store(unsigned num_args, expr * const *
266266
continue;
267267

268268
case l_undef:
269-
// check if loading from subsequent arrays yields the same value
270-
if (first) {
271-
result = to_app(arg0)->get_arg(num_args);
272-
first = false;
273-
}
274-
else if (result != to_app(arg0)->get_arg(num_args))
275-
return BR_FAILED;
276-
arg0 = to_app(arg0)->get_arg(0);
277-
continue;
269+
return BR_FAILED;
278270
}
279271
}
280272

0 commit comments

Comments
 (0)