Fix bougs PR 78170 failure for avr

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
This commit is contained in:
Senthil Kumar Selvaraj 2016-11-03 08:04:40 +00:00 committed by Senthil Kumar Selvaraj
parent 92c036832b
commit f03f023275
2 changed files with 6 additions and 0 deletions

View 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.

View 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. */