diff options
author | Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com> | 2016-11-03 08:04:40 +0000 |
---|---|---|
committer | Senthil Kumar Selvaraj <saaadhu@gcc.gnu.org> | 2016-11-03 08:04:40 +0000 |
commit | f03f023275d9799b21fb9a030ffeb0295487c88d (patch) | |
tree | 49e0dd732cdf44c1b81a848887e42ca53389eb18 | |
parent | 92c036832b7ccb4d90d6a97dff08753401357de3 (diff) | |
download | gcc-f03f023275d9799b21fb9a030ffeb0295487c88d.zip gcc-f03f023275d9799b21fb9a030ffeb0295487c88d.tar.gz gcc-f03f023275d9799b21fb9a030ffeb0295487c88d.tar.bz2 |
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
-rw-r--r-- | gcc/testsuite/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/testsuite/gcc.c-torture/execute/pr78170.c | 2 |
2 files changed, 6 insertions, 0 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 08e85e3..455401f 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -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. diff --git a/gcc/testsuite/gcc.c-torture/execute/pr78170.c b/gcc/testsuite/gcc.c-torture/execute/pr78170.c index 8ef812e..dce8a3e 100644 --- a/gcc/testsuite/gcc.c-torture/execute/pr78170.c +++ b/gcc/testsuite/gcc.c-torture/execute/pr78170.c @@ -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. */ |