This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Remove obsolete comment
- From: Eric Botcazou <ebotcazou at adacore dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Thu, 26 Sep 2013 10:02:08 +0200
- Subject: Remove obsolete comment
- Authentication-results: sourceware.org; auth=none
The first part is obsolete since r91570 at least, for the second part about
MEM_KEEP_ALIAS_SET_P it's more recent.
Tested on x86_64-suse-linux, applied on the mainline.
2013-09-26 Eric Botcazou <ebotcazou@adacore.com>
* expr.c (expand_assignment): Remove obsolete comment.
--
Eric Botcazou
Index: expr.c
===================================================================
--- expr.c (revision 202912)
+++ expr.c (working copy)
@@ -4836,11 +4836,7 @@ expand_assignment (tree to, tree from, b
/* If the field is at offset zero, we could have been given the
DECL_RTX of the parent struct. Don't munge it. */
to_rtx = shallow_copy_rtx (to_rtx);
-
set_mem_attributes_minus_bitpos (to_rtx, to, 0, bitpos);
-
- /* Deal with volatile and readonly fields. The former is only
- done for MEM. Also set MEM_KEEP_ALIAS_SET_P if needed. */
if (volatilep)
MEM_VOLATILE_P (to_rtx) = 1;
}