Fix bougs PR 78170 failure for avr
authorSenthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
Thu, 3 Nov 2016 08:04:40 +0000 (08:04 +0000)
committerSenthil Kumar Selvaraj <saaadhu@gcc.gnu.org>
Thu, 3 Nov 2016 08:04:40 +0000 (08:04 +0000)
The test defines int bitfields that are more than 16 bits wide, and this
fails for the avr with its 16 bit integer size. Therefore, require
effective target int32plus.

gcc/testsuite/

2016-11-03  Senthil Kumar Selvaraj  <senthil_kumar.selvaraj@atmel.com>

* gcc.c-torture/execute/pr78170.c: Require int32plus.

From-SVN: r241809

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/execute/pr78170.c

index 08e85e3c0513e172397df1bf3839d6fd1c5a3917..455401fcf4b63a3e61c2baf08a80347c07db43b1 100644 (file)
@@ -1,3 +1,7 @@
+2016-11-03  Senthil Kumar Selvaraj  <senthil_kumar.selvaraj@atmel.com>
+
+       * gcc.c-torture/execute/pr78170.c: Require int32plus.
+
 2016-11-02  Max Filippov  <jcmvbkbc@gmail.com>
 
        * gcc.c-torture/compile/20001226-1.c: Don't xfail on xtensa.
index 8ef812ee6accb62db8dd6889d74032a88b784d2c..dce8a3eee362f43216210abb20df14520ded0cd7 100644 (file)
@@ -1,3 +1,5 @@
+/* { dg-require-effective-target int32plus } */
+
 /* PR tree-optimization/78170.
    Check that sign-extended store to a bitfield
    doesn't overwrite other fields.  */