Commit 055c7759 by John David Anglin Committed by Alan Modra

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

From-SVN: r40887
parent ad0fc698
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> 2001-03-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* Makefile.in (SYSTEM_H): Define. * Makefile.in (SYSTEM_H): Define.
......
...@@ -2586,6 +2586,12 @@ eliminate_regs (x, mem_mode, insn) ...@@ -2586,6 +2586,12 @@ eliminate_regs (x, mem_mode, insn)
return x; return x;
case USE: 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 CLOBBER:
case ASM_OPERANDS: case ASM_OPERANDS:
case SET: case SET:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment