This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Add missing argument to set_mem_attributes call in function.c
- To: gcc-patches at gcc dot gnu dot org
- Subject: Add missing argument to set_mem_attributes call in function.c
- From: "John David Anglin" <dave at hiauly1 dot hia dot nrc dot ca>
- Date: Mon, 5 Jun 2000 12:34:06 -0400 (EDT)
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));