summaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2012-08-10 02:39:50 +0000
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2012-08-10 02:39:50 +0000
commit99274008f535c39a12d8d1132c6572ca36ed76bd (patch)
tree5143ca4eb8a1e39f4788e23d07aba1af64cdce85 /gcc
parent77e58889d79c2f9d384f66c9b48e69e004939cff (diff)
downloadgcc-99274008f535c39a12d8d1132c6572ca36ed76bd.tar.gz
s390: Use VOIDmode with gen_rtx_SET
* config/s390/s390.c (s390_expand_insv): Use VOIDmode in gen_rtx_SET. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@190281 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog2
-rw-r--r--gcc/config/s390/s390.c5
2 files changed, 4 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 9e4e8720dc4..242e2f0b953 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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.
diff --git a/gcc/config/s390/s390.c b/gcc/config/s390/s390.c
index 0ae77a29c0c..d67c0eb5c57 100644
--- a/gcc/config/s390/s390.c
+++ b/gcc/config/s390/s390.c
@@ -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)));