mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-20 20:39:58 +08:00
* reload.c (push_secondary_reload): Accept empty-string for ALL_REGS.
From-SVN: r44096
This commit is contained in:
parent
3affaf2934
commit
a7c07f1ef0
@ -1,3 +1,7 @@
|
||||
2001-07-17 Richard Henderson <rth@redhat.com>
|
||||
|
||||
* reload.c (push_secondary_reload): Accept empty-string for ALL_REGS.
|
||||
|
||||
2001-07-17 Richard Henderson <rth@redhat.com>
|
||||
|
||||
* calls.c (prepare_call_address): New parameter SIBCALLP. If true,
|
||||
|
17
gcc/reload.c
17
gcc/reload.c
@ -372,11 +372,18 @@ push_secondary_reload (in_p, x, opnum, optional, reload_class, reload_mode,
|
||||
in operand 1. Outputs should have an initial "=", which we must
|
||||
skip. */
|
||||
|
||||
char insn_letter
|
||||
= insn_data[(int) icode].operand[!in_p].constraint[in_p];
|
||||
enum reg_class insn_class
|
||||
= (insn_letter == 'r' ? GENERAL_REGS
|
||||
: REG_CLASS_FROM_LETTER ((unsigned char) insn_letter));
|
||||
enum reg_class insn_class;
|
||||
|
||||
if (insn_data[(int) icode].operand[!in_p].constraint[0] == 0)
|
||||
insn_class = ALL_REGS;
|
||||
else
|
||||
{
|
||||
char insn_letter
|
||||
= insn_data[(int) icode].operand[!in_p].constraint[in_p];
|
||||
insn_class
|
||||
= (insn_letter == 'r' ? GENERAL_REGS
|
||||
: REG_CLASS_FROM_LETTER ((unsigned char) insn_letter));
|
||||
}
|
||||
|
||||
if (insn_class == NO_REGS
|
||||
|| (in_p
|
||||
|
Loading…
Reference in New Issue
Block a user