Commit a9d46e32 by Andreas Krebbel Committed by Andreas Krebbel

s390.c (s390_expand_insv): Use GET_MODE_BITSIZE.

2014-04-02  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>

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

From-SVN: r209032
parent 7c40228a
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
......
......@@ -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). */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment