s390.c (s390_expand_insv): Use GET_MODE_BITSIZE.
authorAndreas Krebbel <Andreas.Krebbel@de.ibm.com>
Wed, 2 Apr 2014 20:08:53 +0000 (20:08 +0000)
committerAndreas Krebbel <krebbel@gcc.gnu.org>
Wed, 2 Apr 2014 20:08:53 +0000 (20:08 +0000)
2014-04-02  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>

* config/s390/s390.c (s390_expand_insv): Use GET_MODE_BITSIZE.

From-SVN: r209032

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

index 510f3983f917d93d595e0dec39e9dee5627cb6c0..11293cc800e6fcc104544f2aa8675ef03130a052 100644 (file)
@@ -1,3 +1,7 @@
+2014-04-02  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
+
+       * config/s390/s390.c (s390_expand_insv): Use GET_MODE_BITSIZE.
+
 2014-04-02  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
 
        * config/spu/spu.c (pad_bb): Do not crash when the last
index bdb577c97481169a7b135641f639cc9ae4f85d4d..aac8de848acd3a8b3f9951211f70335fbc28f95a 100644 (file)
@@ -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).  */