From 73b3695109dd83667b4ed49f9526134c47f59419 Mon Sep 17 00:00:00 2001 From: kenner Date: Mon, 1 Oct 2001 13:24:12 +0000 Subject: [PATCH] * config/i386/i386.c (ix86_va_arg): Call set_mem_alias_set. (ix86_setup_incoming_varargs): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45924 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/ChangeLog | 5 +++++ gcc/config/i386/i386.c | 10 +++++----- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index a2247bd..c546d5b 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +Mon Oct 1 09:26:41 2001 Richard Kenner + + * config/i386/i386.c (ix86_va_arg): Call set_mem_alias_set. + (ix86_setup_incoming_varargs): Likewise. + 2001-10-01 Jason Merrill * stor-layout.c (layout_type): Don't complain about too-large diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c index a8d68de..75e1968 100644 --- a/gcc/config/i386/i386.c +++ b/gcc/config/i386/i386.c @@ -2173,7 +2173,7 @@ ix86_setup_incoming_varargs (cum, mode, type, pretend_size, no_rtl) { mem = gen_rtx_MEM (Pmode, plus_constant (save_area, i * UNITS_PER_WORD)); - MEM_ALIAS_SET (mem) = set; + set_mem_alias_set (mem, set); emit_move_insn (mem, gen_rtx_REG (Pmode, x86_64_int_parameter_registers[i])); } @@ -2214,7 +2214,7 @@ ix86_setup_incoming_varargs (cum, mode, type, pretend_size, no_rtl) emit_insn (gen_rtx_SET(VOIDmode, tmp_reg, plus_constant (save_area, 8 * REGPARM_MAX + 127))); mem = gen_rtx_MEM (BLKmode, plus_constant (tmp_reg, -127)); - MEM_ALIAS_SET (mem) = set; + set_mem_alias_set(mem, set); /* And finally do the dirty job! */ emit_insn (gen_sse_prologue_save (mem, nsse_reg, GEN_INT (next_cum.sse_regno), @@ -2426,7 +2426,7 @@ ix86_va_arg (valist, type) rtx mem; mem = assign_temp (type, 0, 1, 0); - MEM_ALIAS_SET (mem) = get_varargs_alias_set (); + set_mem_alias_set (mem, get_varargs_alias_set ()); addr_rtx = XEXP (mem, 0); for (i = 0; i < XVECLEN (container, 0); i++) { @@ -2449,7 +2449,7 @@ ix86_va_arg (valist, type) src_offset = REGNO (reg) * 8; } src_mem = gen_rtx_MEM (mode, src_addr); - MEM_ALIAS_SET (src_mem) = get_varargs_alias_set (); + set_mem_alias_set (src_mem, get_varargs_alias_set ()); src_mem = adjust_address (src_mem, mode, src_offset); dest_mem = adjust_address (mem, mode, INTVAL (XEXP (slot, 1))); PUT_MODE (dest_mem, mode); @@ -2513,7 +2513,7 @@ ix86_va_arg (valist, type) { abort (); r = gen_rtx_MEM (Pmode, addr_rtx); - MEM_ALIAS_SET (r) = get_varargs_alias_set (); + set_mem_alias_set (r, get_varargs_alias_set ()); emit_move_insn (addr_rtx, r); } -- 2.7.4