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]

Add missing argument to set_mem_attributes call in function.c


Here is a patch.  I assume we are dealing with a new object.

-- 
J. David Anglin                                  dave.anglin@nrc.ca
National Research Council of Canada              (613) 990-0752 (FAX: 952-6605)

2000-06-05  J. David Anglin  <dave@hiauly1.hia.nrc.ca>

	* function.c (assign_parms): Add missing argument to set_mem_attributes
	call.

--- function.c.orig	Sat Jun  3 11:55:56 2000
+++ function.c	Sun Jun  4 00:06:31 2000
@@ -4640,7 +4640,7 @@
 	      else
 		copy = assign_stack_temp (TYPE_MODE (type),
 					  int_size_in_bytes (type), 1);
-	      set_mem_attributes (copy, parm);
+	      set_mem_attributes (copy, parm, 1);
 
 	      store_expr (parm, copy, 0);
 	      emit_move_insn (parmreg, XEXP (copy, 0));

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