* reload1.c (eliminate_regs): Don't abort on MEM USEs.

From-SVN: r40887
This commit is contained in:
John David Anglin 2001-03-28 00:25:25 +00:00 committed by Alan Modra
parent ad0fc69878
commit 055c77597b
2 changed files with 10 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2001-03-28 John David Anglin <dave@hiauly1.hia.nrc.ca>
* reload1.c (eliminate_regs): Don't abort on MEM USEs.
2001-03-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* Makefile.in (SYSTEM_H): Define.

View File

@ -2586,6 +2586,12 @@ eliminate_regs (x, mem_mode, insn)
return x;
case USE:
/* Handle insn_list USE that a call to a pure function may generate. */
new = eliminate_regs (XEXP (x, 0), 0, insn);
if (new != XEXP (x, 0))
return gen_rtx_USE (GET_MODE (x), new);
return x;
case CLOBBER:
case ASM_OPERANDS:
case SET: