From 6f6547765e1283d7a76888fe0eb0c5b5318d9df9 Mon Sep 17 00:00:00 2001 From: Richard Kenner Date: Sun, 12 Jul 1992 17:42:39 -0400 Subject: entered into RCS From-SVN: r1580 --- gcc/regclass.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gcc/regclass.c') diff --git a/gcc/regclass.c b/gcc/regclass.c index cd5b0d0..6c6e029 100644 --- a/gcc/regclass.c +++ b/gcc/regclass.c @@ -1139,7 +1139,7 @@ record_reg_classes (n_alts, n_ops, ops, modes, constraints, insn) else if (win || (GET_CODE (op) == REG - && reg_fits_class_p (op, classes[i], 0, mode))) + && reg_fits_class_p (op, classes[i], 0, GET_MODE (op)))) ; /* If registers are valid, the cost of this alternative includes -- cgit v1.1