From: Senthil Kumar Selvaraj Date: Thu, 3 Nov 2016 08:04:40 +0000 (+0000) Subject: Fix bougs PR 78170 failure for avr X-Git-Tag: basepoints/gcc-8~3411 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f03f023275d9799b21fb9a030ffeb0295487c88d;p=thirdparty%2Fgcc.git 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 * gcc.c-torture/execute/pr78170.c: Require int32plus. From-SVN: r241809 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 08e85e3c0513..455401fcf4b6 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2016-11-03 Senthil Kumar Selvaraj + + * gcc.c-torture/execute/pr78170.c: Require int32plus. + 2016-11-02 Max Filippov * 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 8ef812ee6acc..dce8a3eee362 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. */