From fc4a0dca1b2250923b5be56a178e28fd1f514ce6 Mon Sep 17 00:00:00 2001 From: Jim Wilson Date: Wed, 21 Sep 1994 11:01:38 -0700 Subject: (eliminate_regs): Make test in LOAD_EXTEND_OP case more precise. From-SVN: r8114 --- gcc/reload1.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'gcc') diff --git a/gcc/reload1.c b/gcc/reload1.c index c56710e..e31267c 100644 --- a/gcc/reload1.c +++ b/gcc/reload1.c @@ -2915,7 +2915,11 @@ eliminate_regs (x, mem_mode, insn) smaller. So leave the SUBREG then. */ && ! (GET_CODE (SUBREG_REG (x)) == REG && GET_MODE_SIZE (GET_MODE (x)) <= UNITS_PER_WORD - && GET_MODE_SIZE (GET_MODE (new)) <= UNITS_PER_WORD) + && GET_MODE_SIZE (GET_MODE (new)) <= UNITS_PER_WORD + && (GET_MODE_SIZE (GET_MODE (x)) + > GET_MODE_SIZE (GET_MODE (new))) + && INTEGRAL_MODE_P (GET_MODE (new)) + && LOAD_EXTEND_OP (GET_MODE (new)) != NIL) #endif ) { -- cgit v1.1