diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 71c7d1f78b8431146b1e387cabbe3904bcedd27a..68164c0542c4fe302f9747df5200f34df14c4719 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2016-04-27  Uros Bizjak  <ubizjak@gmail.com>
+
+	* config/i386/i386.md
+	(lea arith with mem operand + setcc peephole2): Set operator mode.
+
 2016-04-27  H.J. Lu  <hongjiu.lu@intel.com>
 
 	PR target/70155
diff --git a/gcc/config/i386/i386.md b/gcc/config/i386/i386.md
index 30764c9da79eb0e83a0e0426915a5c34c34d38ff..049f6255cbea1ef8cf7a753faab7e193bfb9b486 100644
--- a/gcc/config/i386/i386.md
+++ b/gcc/config/i386/i386.md
@@ -18023,8 +18023,8 @@
   [(set (match_operand:SWI 0 "register_operand")
 	(match_operand:SWI 1 "memory_operand"))
    (set (match_operand:SWI 3 "register_operand")
-	(plus (match_dup 0)
-	      (match_operand:SWI 2 "<nonmemory_operand>")))
+	(plus:SWI (match_dup 0)
+		  (match_operand:SWI 2 "<nonmemory_operand>")))
    (set (match_dup 1) (match_dup 3))
    (set (reg FLAGS_REG) (compare (match_dup 3) (const_int 0)))]
   "(TARGET_READ_MODIFY_WRITE || optimize_insn_for_size_p ())