Patchwork PATCH: Don't set misaligned_prologue_used twice

login
register
mail settings
Submitter H.J. Lu
Date Nov. 7, 2013, 2 p.m.
Message ID <20131107140039.GA17329@lucon.org>
Download mbox | patch
Permalink /patch/289348/
State New
Headers show

Comments

H.J. Lu - Nov. 7, 2013, 2 p.m.
I checked in this patch to remove redundant setting of
misaligned_prologue_used.

H.J.
---

Patch

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 204511)
+++ ChangeLog	(working copy)
@@ -1,3 +1,8 @@ 
+2013-11-07  H.J. Lu  <hongjiu.lu@intel.com>
+
+	* config/i386/i386.c (ix86_expand_set_or_movmem): Don't set
+	misaligned_prologue_used when it has been set.
+
 2013-11-07  Yury Gribov  <y.gribov@samsung.com>
 	    Jakub Jelinek  <jakub@redhat.com>
 
Index: config/i386/i386.c
===================================================================
--- config/i386/i386.c	(revision 204511)
+++ config/i386/i386.c	(working copy)
@@ -23796,7 +23796,6 @@  ix86_expand_set_or_movmem (rtx dst, rtx
   if (misaligned_prologue_used)
     {
       /* Misaligned move prologue handled small blocks by itself.  */
-      misaligned_prologue_used = true;
       expand_set_or_movmem_prologue_epilogue_by_misaligned_moves
 	   (dst, src, &destreg, &srcreg,
 	    move_mode, promoted_val, vec_promoted_val,