diff options
author | rsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-06-11 16:59:01 +0000 |
---|---|---|
committer | rsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-06-11 16:59:01 +0000 |
commit | e3c57fd265541f5124639cc88955fb68edcbcdc8 (patch) | |
tree | d44d90996a8e4988ffeaca48c18b078c652a966b /gcc/genpreds.c | |
parent | 4e67d0bf31675de8490afaeb9075e4d646393563 (diff) | |
download | gcc-e3c57fd265541f5124639cc88955fb68edcbcdc8.tar.gz |
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
Diffstat (limited to 'gcc/genpreds.c')
-rw-r--r-- | gcc/genpreds.c | 7 |
1 files changed, 0 insertions, 7 deletions
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" |