Patchwork Remove obsolete comment

login
register
mail settings
Submitter Eric Botcazou
Date Sept. 26, 2013, 8:02 a.m.
Message ID <2189797.0lbW6MdGev@polaris>
Download mbox | patch
Permalink /patch/278131/
State New
Headers show

Comments

Eric Botcazou - Sept. 26, 2013, 8:02 a.m.
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.

Patch

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;
 	    }