This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH, i386] Set mode of input operand ...
- From: Uros Bizjak <ubizjak at gmail dot com>
- To: "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>
- Date: Wed, 27 Apr 2016 19:48:03 +0200
- Subject: [PATCH, i386] Set mode of input operand ...
- Authentication-results: sourceware.org; auth=none
... to avoid build warnings.
2016-04-27 Uros Bizjak <ubizjak@gmail.com>
* config/i386/i386.md
(lea arith with mem operand + setcc peephole2): Set operator mode.
Bootstrapped and regression tested on x86_64-linux-gnu {,-m32}.
Committed to mainline SVN.
Uros.
Index: config/i386/i386.md
===================================================================
--- config/i386/i386.md (revision 235516)
+++ config/i386/i386.md (working copy)
@@ -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 ())