s390: Use VOIDmode with gen_rtx_SET
authorRichard Henderson <rth@redhat.com>
Fri, 10 Aug 2012 02:39:50 +0000 (19:39 -0700)
committerRichard Henderson <rth@gcc.gnu.org>
Fri, 10 Aug 2012 02:39:50 +0000 (19:39 -0700)
* config/s390/s390.c (s390_expand_insv): Use VOIDmode in gen_rtx_SET.

From-SVN: r190281

gcc/ChangeLog
gcc/config/s390/s390.c

index 9e4e8720dc478218409ec6b2304f1ea2b5369129..242e2f0b953ff70a871fafa500a38841b4f74bcb 100644 (file)
@@ -1,5 +1,7 @@
 2012-08-09  Richard Henderson  <rth@redhat.com>
 
+       * config/s390/s390.c (s390_expand_insv): Use VOIDmode in gen_rtx_SET.
+
        * config/s390/s390.c (s390_expand_cs_hqi): Copy val to a temp before
        performing the compare for the restart loop.
 
index 0ae77a29c0c40d8ca4d81f9ce3d67edd97e52931..d67c0eb5c573f74c0317aab416b88129d94e95fc 100644 (file)
@@ -4684,9 +4684,8 @@ s390_expand_insv (rtx dest, rtx op1, rtx op2, rtx src)
          src = gen_lowpart (mode, src);
        }
 
-      op = gen_rtx_SET (mode,
-                       gen_rtx_ZERO_EXTRACT (mode, dest, op1, op2),
-                       src);
+      op = gen_rtx_ZERO_EXTRACT (mode, dest, op1, op2),
+      op = gen_rtx_SET (VOIDmode, op, src);
       clobber = gen_rtx_CLOBBER (VOIDmode, gen_rtx_REG (CCmode, CC_REGNUM));
       emit_insn (gen_rtx_PARALLEL (VOIDmode, gen_rtvec (2, op, clobber)));