This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

MEM_ALIAS_SET build failure on s390 fixed



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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]