This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
PATCH: fix comments in emit-rtl.c
- From: Ben Elliston <bje at au1 dot ibm dot com>
- To: gcc-patches at gcc dot gnu dot org
- Cc: matz at suse dot de
- Date: Thu, 01 Nov 2007 16:56:11 +1100
- Subject: PATCH: fix comments in emit-rtl.c
I've committed the following as obvious.
I also fixed Michael Matz's changelog typo. :-)
-2007-11-01 Michael Matz <matz@suse.de
+2007-11-01 Michael Matz <matz@suse.de>
2007-11-01 Ben Elliston <bje@au.ibm.com>
* emit-rtl.c (set_reg_attrs_from_mem): Clarify function comment.
(set_mem_attrs_from_reg): Likewise.
Index: emit-rtl.c
===================================================================
--- emit-rtl.c (revision 129817)
+++ emit-rtl.c (working copy)
@@ -1009,7 +1009,7 @@ gen_reg_rtx_offset (rtx reg, enum machin
return new;
}
-/* Set the decl for MEM to DECL. */
+/* Set REG to the decl that MEM refers to. */
void
set_reg_attrs_from_mem (rtx reg, rtx mem)
@@ -1796,7 +1796,7 @@ set_mem_attributes (rtx ref, tree t, int
set_mem_attributes_minus_bitpos (ref, t, objectp, 0);
}
-/* Set the decl for MEM to DECL. */
+/* Set MEM to the decl that REG refers to. */
void
set_mem_attrs_from_reg (rtx mem, rtx reg)