Hi, I've committed the attached patch fixing the following testsuite fails on s390 (-march=z196):
< FAIL: gcc.dg/pr48335-2.c (internal compiler error) < FAIL: gcc.dg/pr48335-2.c (test for excess errors) < FAIL: gcc.dg/pr48335-3.c (internal compiler error) < FAIL: gcc.dg/pr48335-3.c (test for excess errors) I've also committed the fix to 4.8 branch since it is a regression from 4.7. Bye, -Andreas- 2013-04-08 Andreas Krebbel <andreas.kreb...@de.ibm.com> * config/s390/s390.c (s390_expand_insv): Only accept insertions within mode size. --- gcc/config/s390/s390.c | 3 +++ 1 file changed, 3 insertions(+) Index: gcc/config/s390/s390.c =================================================================== *** gcc/config/s390/s390.c.orig --- gcc/config/s390/s390.c *************** s390_expand_insv (rtx dest, rtx op1, rtx *** 4648,4653 **** --- 4648,4656 ---- int smode_bsize, mode_bsize; rtx op, clobber; + if (bitsize + bitpos > GET_MODE_SIZE (mode)) + return false; + /* Generate INSERT IMMEDIATE (IILL et al). */ /* (set (ze (reg)) (const_int)). */ if (TARGET_ZARCH