aboutsummaryrefslogtreecommitdiff
path: root/gcc/regclass.c
diff options
context:
space:
mode:
authorRichard Kenner <kenner@gcc.gnu.org>1992-07-06 16:14:57 -0400
committerRichard Kenner <kenner@gcc.gnu.org>1992-07-06 16:14:57 -0400
commit373666321abc0c92b292160fbb328a991d205940 (patch)
tree8979093ab82c6099e027310ce4a8ecddb266b9cf /gcc/regclass.c
parentfb3821f7b217dc72d9792d4c4f62095273a5fac7 (diff)
downloadgcc-373666321abc0c92b292160fbb328a991d205940.zip
gcc-373666321abc0c92b292160fbb328a991d205940.tar.gz
gcc-373666321abc0c92b292160fbb328a991d205940.tar.bz2
*** empty log message ***
From-SVN: r1475
Diffstat (limited to 'gcc/regclass.c')
-rw-r--r--gcc/regclass.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/gcc/regclass.c b/gcc/regclass.c
index d11d249..58399dd 100644
--- a/gcc/regclass.c
+++ b/gcc/regclass.c
@@ -536,7 +536,7 @@ regclass (f, nregs)
if (GET_CODE (insn) == INSN
&& (noperands = asm_noperands (PATTERN (insn))) >= 0)
{
- decode_asm_operands (PATTERN (insn), recog_operand, 0,
+ decode_asm_operands (PATTERN (insn), recog_operand, NULL_PTR,
constraints, modes);
nalternatives = n_occurrences (',', constraints[0]) + 1;
}
@@ -557,7 +557,8 @@ regclass (f, nregs)
if (set != 0 && GET_CODE (SET_DEST (set)) == REG
&& GET_CODE (SET_SRC (set)) == MEM
- && (note = find_reg_note (insn, REG_EQUIV, 0)) != 0
+ && (note = find_reg_note (insn, REG_EQUIV,
+ NULL_RTX)) != 0
&& GET_CODE (XEXP (note, 0)) == MEM)
{
costs[REGNO (SET_DEST (set))].mem_cost
@@ -984,7 +985,7 @@ record_reg_classes (n_alts, n_ops, ops, modes, constraints, insn)
/* Match any floating double constant, but only if
we can examine the bits of it reliably. */
if ((HOST_FLOAT_FORMAT != TARGET_FLOAT_FORMAT
- || HOST_BITS_PER_INT != BITS_PER_WORD)
+ || HOST_BITS_PER_WIDE_INT != BITS_PER_WORD)
&& GET_MODE (op) != VOIDmode && ! flag_pretend_float)
break;
if (GET_CODE (op) == CONST_DOUBLE)