From e3c57fd265541f5124639cc88955fb68edcbcdc8 Mon Sep 17 00:00:00 2001 From: rsandifo Date: Wed, 11 Jun 2014 16:59:01 +0000 Subject: gcc/ * system.h (CONST_DOUBLE_OK_FOR_CONSTRAINT_P): Poison. * genpreds.c (have_const_dbl_constraints): Delete. (add_constraint): Don't set it. (write_tm_preds_h): Don't call CONST_DOUBLE_OK_FOR_CONSTRAINT_P. * ira-costs.c (record_reg_classes): Handle CONST_INT and CONST_DOUBLE constraints using the lookup_constraint logic. * ira-lives.c (single_reg_class): Likewise. * ira.c (ira_setup_alts): Likewise. * lra-constraints.c (process_alt_operands): Likewise. * recog.c (asm_operand_ok, constrain_operands): Likewise. * reload.c (find_reloads): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@211474 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/genpreds.c | 7 ------- 1 file changed, 7 deletions(-) (limited to 'gcc/genpreds.c') diff --git a/gcc/genpreds.c b/gcc/genpreds.c index c50b9cda38a..cc91139a849 100644 --- a/gcc/genpreds.c +++ b/gcc/genpreds.c @@ -684,7 +684,6 @@ static bool have_memory_constraints; static bool have_address_constraints; static bool have_extra_constraints; static bool have_const_int_constraints; -static bool have_const_dbl_constraints; static unsigned int num_constraints; static const constraint_data **enum_order; @@ -888,7 +887,6 @@ add_constraint (const char *name, const char *regclass, constraint_max_namelen = MAX (constraint_max_namelen, strlen (name)); have_register_constraints |= c->is_register; have_const_int_constraints |= c->is_const_int; - have_const_dbl_constraints |= c->is_const_dbl; have_extra_constraints |= c->is_extra; have_memory_constraints |= c->is_memory; have_address_constraints |= c->is_address; @@ -1375,11 +1373,6 @@ write_tm_preds_h (void) "{\n" " return false;\n" "}\n"); - if (have_const_dbl_constraints) - puts ("#define CONST_DOUBLE_OK_FOR_CONSTRAINT_P(v_,c_,s_) \\\n" - " constraint_satisfied_p (v_, lookup_constraint (s_))\n"); - else - puts ("#define CONST_DOUBLE_OK_FOR_CONSTRAINT_P(v_,c_,s_) 0\n"); puts ("enum constraint_type\n" "{\n" -- cgit v1.2.1