mirror of
https://github.com/Z3Prover/z3
synced 2025-04-15 13:28:47 +00:00
fix riscv/aarch/powerpc build warnings
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
3b5ae285d9
commit
eb751bec4c
|
@ -61,7 +61,7 @@ namespace recfun {
|
||||||
expr_ref_vector m_guards; //<! conjunction that is equivalent to this case
|
expr_ref_vector m_guards; //<! conjunction that is equivalent to this case
|
||||||
expr_ref m_rhs; //<! if guard is true, `f(t1...tn) = rhs` holds
|
expr_ref m_rhs; //<! if guard is true, `f(t1...tn) = rhs` holds
|
||||||
def * m_def; //<! definition this is a part of
|
def * m_def; //<! definition this is a part of
|
||||||
bool m_immediate; //<! does `rhs` contain no defined_fun/case_pred?
|
bool m_immediate = false; //<! does `rhs` contain no defined_fun/case_pred?
|
||||||
|
|
||||||
case_def(ast_manager& m):
|
case_def(ast_manager& m):
|
||||||
m_pred(m),
|
m_pred(m),
|
||||||
|
|
|
@ -78,8 +78,7 @@ struct macro_replacer::macro_replacer_cfg : public default_rewriter_cfg {
|
||||||
return false;
|
return false;
|
||||||
p = nullptr;
|
p = nullptr;
|
||||||
app* n = to_app(_n);
|
app* n = to_app(_n);
|
||||||
quantifier* q = nullptr;
|
func_decl* d = n->get_decl();
|
||||||
func_decl* d = n->get_decl(), * d2 = nullptr;
|
|
||||||
app_ref head(m);
|
app_ref head(m);
|
||||||
expr_ref def(m);
|
expr_ref def(m);
|
||||||
expr_dependency_ref dep(m);
|
expr_dependency_ref dep(m);
|
||||||
|
|
|
@ -27,9 +27,9 @@ Description:
|
||||||
|
|
||||||
|
|
||||||
class bound_simplifier : public dependent_expr_simplifier {
|
class bound_simplifier : public dependent_expr_simplifier {
|
||||||
typedef interval_manager<im_default_config> interval_manager;
|
typedef interval_manager<im_default_config> _interval_manager;
|
||||||
typedef interval_manager::interval interval;
|
typedef _interval_manager::interval interval;
|
||||||
typedef _scoped_interval<interval_manager> scoped_interval;
|
typedef _scoped_interval<_interval_manager> scoped_interval;
|
||||||
|
|
||||||
arith_util a;
|
arith_util a;
|
||||||
th_rewriter m_rewriter;
|
th_rewriter m_rewriter;
|
||||||
|
@ -37,7 +37,7 @@ class bound_simplifier : public dependent_expr_simplifier {
|
||||||
small_object_allocator m_alloc;
|
small_object_allocator m_alloc;
|
||||||
bound_propagator bp;
|
bound_propagator bp;
|
||||||
im_default_config i_cfg;
|
im_default_config i_cfg;
|
||||||
interval_manager i_manager;
|
_interval_manager i_manager;
|
||||||
unsigned m_num_vars = 0;
|
unsigned m_num_vars = 0;
|
||||||
ptr_vector<expr> m_var2expr;
|
ptr_vector<expr> m_var2expr;
|
||||||
unsigned_vector m_expr2var;
|
unsigned_vector m_expr2var;
|
||||||
|
|
|
@ -480,7 +480,7 @@ template <typename T, typename X> int lp_primal_core_solver<T, X>::find_leaving_
|
||||||
template <typename T, typename X> int lp_primal_core_solver<T, X>::find_leaving_and_t(unsigned entering, X & t) {
|
template <typename T, typename X> int lp_primal_core_solver<T, X>::find_leaving_and_t(unsigned entering, X & t) {
|
||||||
if (this->m_settings.use_breakpoints_in_feasibility_search && !this->current_x_is_feasible())
|
if (this->m_settings.use_breakpoints_in_feasibility_search && !this->current_x_is_feasible())
|
||||||
return find_leaving_and_t_with_breakpoints(entering, t);
|
return find_leaving_and_t_with_breakpoints(entering, t);
|
||||||
X theta;
|
X theta = zero_of_type<X>();
|
||||||
bool unlimited = get_harris_theta(theta);
|
bool unlimited = get_harris_theta(theta);
|
||||||
lp_assert(unlimited || theta >= zero_of_type<X>());
|
lp_assert(unlimited || theta >= zero_of_type<X>());
|
||||||
if (try_jump_to_another_bound_on_entering(entering, theta, t, unlimited)) return entering;
|
if (try_jump_to_another_bound_on_entering(entering, theta, t, unlimited)) return entering;
|
||||||
|
|
Loading…
Reference in a new issue