From: Andreas Krebbel Date: Wed, 2 Apr 2014 20:08:53 +0000 (+0000) Subject: s390.c (s390_expand_insv): Use GET_MODE_BITSIZE. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a9d46e3237cea4058bd16534e6a3ce6e8e1ca277;p=gcc.git s390.c (s390_expand_insv): Use GET_MODE_BITSIZE. 2014-04-02 Andreas Krebbel * config/s390/s390.c (s390_expand_insv): Use GET_MODE_BITSIZE. From-SVN: r209032 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 510f3983f91..11293cc800e 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2014-04-02 Andreas Krebbel + + * config/s390/s390.c (s390_expand_insv): Use GET_MODE_BITSIZE. + 2014-04-02 Ulrich Weigand * config/spu/spu.c (pad_bb): Do not crash when the last diff --git a/gcc/config/s390/s390.c b/gcc/config/s390/s390.c index bdb577c9748..aac8de848ac 100644 --- a/gcc/config/s390/s390.c +++ b/gcc/config/s390/s390.c @@ -4613,7 +4613,7 @@ s390_expand_insv (rtx dest, rtx op1, rtx op2, rtx src) int smode_bsize, mode_bsize; rtx op, clobber; - if (bitsize + bitpos > GET_MODE_SIZE (mode)) + if (bitsize + bitpos > GET_MODE_BITSIZE (mode)) return false; /* Generate INSERT IMMEDIATE (IILL et al). */