Commit 70642ee3 by Jan Hubicka Committed by Jan Hubicka

* i386.c (ix86_va_arg): Fix allocation of temporary slot.

From-SVN: r68298
parent 02529902
Sat Jun 21 13:41:00 CEST 2003 Jan Hubicka <jh@suse.cz>
* i386.c (ix86_va_arg): Fix allocation of temporary slot.
2003-06-20 Kazu Hirata <kazu@cs.umass.edu> 2003-06-20 Kazu Hirata <kazu@cs.umass.edu>
* config/h8300/h8300-protos.h: Add a prototype for * config/h8300/h8300-protos.h: Add a prototype for
......
...@@ -3157,10 +3157,12 @@ ix86_va_arg (valist, type) ...@@ -3157,10 +3157,12 @@ ix86_va_arg (valist, type)
{ {
int i; int i;
rtx mem; rtx mem;
rtx x;
/* Never use the memory itself, as it has the alias set. */ /* Never use the memory itself, as it has the alias set. */
addr_rtx = XEXP (assign_temp (type, 0, 1, 0), 0); x = XEXP (assign_temp (type, 0, 1, 0), 0);
mem = gen_rtx_MEM (BLKmode, addr_rtx); mem = gen_rtx_MEM (BLKmode, x);
force_operand (x, addr_rtx);
set_mem_alias_set (mem, get_varargs_alias_set ()); set_mem_alias_set (mem, get_varargs_alias_set ());
set_mem_align (mem, BITS_PER_UNIT); set_mem_align (mem, BITS_PER_UNIT);
......
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