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 08e85e3..455401f 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 8ef812e..dce8a3e 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.  */