This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
MEM_ALIAS_SET build failure on s390 fixed
- To: gcc-patches at gcc dot gnu dot org
- Subject: MEM_ALIAS_SET build failure on s390 fixed
- From: Ulrich Weigand <weigand at immd1 dot informatik dot uni-erlangen dot de>
- Date: Sat, 6 Oct 2001 02:20:44 +0200 (MET DST)
- Cc: uweigand at de dot ibm dot com, hpenner at de dot ibm dot com
This fixes a build failure on s390 due to MEM_ALIAS_SET
no longer being an lvalue.
Applied to mainline.
Bye,
Ulrich
ChangeLog:
* config/s390/s390.c (s390_va_arg): Use set_mem_alias_set.
Index: gcc/config/s390/s390.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/s390/s390.c,v
retrieving revision 1.9
diff -c -p -r1.9 s390.c
*** s390.c 2001/09/29 22:56:14 1.9
--- s390.c 2001/10/06 00:10:40
*************** s390_va_arg (valist, type)
*** 3325,3331 ****
if (indirect_p)
{
r = gen_rtx_MEM (Pmode, addr_rtx);
! MEM_ALIAS_SET (r) = get_varargs_alias_set ();
emit_move_insn (addr_rtx, r);
}
--- 3325,3331 ----
if (indirect_p)
{
r = gen_rtx_MEM (Pmode, addr_rtx);
! set_mem_alias_set (r, get_varargs_alias_set ());
emit_move_insn (addr_rtx, r);
}
--
Dr. Ulrich Weigand
weigand@informatik.uni-erlangen.de