Commit 8a9a857e by Richard Henderson Committed by Richard Henderson

reload.c (push_secondary_reload): Don't check for "=" in output constraint after…

reload.c (push_secondary_reload): Don't check for "=" in output constraint after ""->ALL_REGS check.

        * reload.c (push_secondary_reload): Don't check for "=" in output
        constraint after ""->ALL_REGS check.

From-SVN: r45739
parent 24ee7cae
2001-09-21 Richard Henderson <rth@redhat.com>
* reload.c (push_secondary_reload): Don't check for "=" in output
constraint after ""->ALL_REGS check.
2001-09-21 Richard Henderson <rth@redhat.com>
* predict.c (expected_value_to_br_prob): Use pc_set.
* optabs.c (init_one_libfunc): Gen a FUNCTION_DECL for use by
......
......@@ -381,13 +381,16 @@ push_secondary_reload (in_p, x, opnum, optional, reload_class, reload_mode,
insn_class
= (insn_letter == 'r' ? GENERAL_REGS
: REG_CLASS_FROM_LETTER ((unsigned char) insn_letter));
}
if (insn_class == NO_REGS
|| (in_p
if (insn_class == NO_REGS)
abort ();
if (in_p
&& insn_data[(int) icode].operand[!in_p].constraint[0] != '=')
abort ();
}
/* The scratch register's constraint must start with "=&". */
|| insn_data[(int) icode].operand[2].constraint[0] != '='
if (insn_data[(int) icode].operand[2].constraint[0] != '='
|| insn_data[(int) icode].operand[2].constraint[1] != '&')
abort ();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment