Fix Irix6 Mesa compile failure reported by Andy Tai.

* config/mips/mips.c (double_memory_operand): Accept any MEM during
	reload when TARGET_64BIT.

From-SVN: r19887
This commit is contained in:
Jim Wilson 1998-05-19 19:23:09 +00:00 committed by Jim Wilson
parent c73912726c
commit f85c8be787
2 changed files with 16 additions and 0 deletions

View file

@ -1,3 +1,8 @@
Tue May 19 19:08:52 1998 Jim Wilson <wilson@cygnus.com>
* config/mips/mips.c (double_memory_operand): Accept any MEM during
reload when TARGET_64BIT.
Tue May 19 18:21:25 1998 Jim Wilson <wilson@cygnus.com>
Finish incomplete change started by Kenner.

View file

@ -828,6 +828,17 @@ double_memory_operand (op, mode)
&& double_memory_operand (reg_equiv_mem[REGNO (op)], mode))
return 1;
/* All reloaded addresses are valid in TARGET_64BIT mode. This is
the same test performed for 'm' in find_reloads. */
if (reload_in_progress
&& TARGET_64BIT
&& (GET_CODE (op) == MEM
|| (GET_CODE (op) == REG
&& REGNO (op) >= FIRST_PSEUDO_REGISTER
&& reg_renumber[REGNO (op)] < 0)))
return 1;
if (reload_in_progress
&& TARGET_MIPS16
&& GET_CODE (op) == MEM)