diff options
author | Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com> | 2016-08-24 08:36:56 +0000 |
---|---|---|
committer | Senthil Kumar Selvaraj <saaadhu@gcc.gnu.org> | 2016-08-24 08:36:56 +0000 |
commit | d118868932f7fa623b09ead24732daf1e553c145 (patch) | |
tree | 3f86a9c3b75b68fed04452391617fedf6b1f3bfa /gcc | |
parent | 9a38acdfdce27d0e05e5167ebc210cfa8ff677bc (diff) | |
download | gcc-d118868932f7fa623b09ead24732daf1e553c145.zip gcc-d118868932f7fa623b09ead24732daf1e553c145.tar.gz gcc-d118868932f7fa623b09ead24732daf1e553c145.tar.bz2 |
Fix bogus testsuite failures for avr.
gcc/testsuite/
2016-08-24 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
* gcc.c-torture/execute/pr71083.c: Use UINT32_TYPE instead
of unsigned int.
* gcc.dg/zero_sign_ext_test.c: Require int32plus.
From-SVN: r239732
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/testsuite/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/testsuite/gcc.c-torture/execute/pr71083.c | 4 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/zero_sign_ext_test.c | 1 |
3 files changed, 10 insertions, 1 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index fef6909..76381ef 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2016-08-24 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com> + + * gcc.c-torture/execute/pr71083.c: Use UINT32_TYPE instead + of unsigned int. + * gcc.dg/zero_sign_ext_test.c: Require int32plus. + 2016-08-24 Robert Suchanek <robert.suchanek@imgtec.com> PR testsuite/77317 diff --git a/gcc/testsuite/gcc.c-torture/execute/pr71083.c b/gcc/testsuite/gcc.c-torture/execute/pr71083.c index 0574434..6f80b0f 100644 --- a/gcc/testsuite/gcc.c-torture/execute/pr71083.c +++ b/gcc/testsuite/gcc.c-torture/execute/pr71083.c @@ -1,5 +1,7 @@ +__extension__ typedef __UINT32_TYPE__ uint32_t; + struct lock_chain { - unsigned int irq_context: 2, + uint32_t irq_context: 2, depth: 6, base: 24; }; diff --git a/gcc/testsuite/gcc.dg/zero_sign_ext_test.c b/gcc/testsuite/gcc.dg/zero_sign_ext_test.c index 6a52678..ea2c59c 100644 --- a/gcc/testsuite/gcc.dg/zero_sign_ext_test.c +++ b/gcc/testsuite/gcc.dg/zero_sign_ext_test.c @@ -2,6 +2,7 @@ extern void abort (void); /* { dg-options "-O2" } */ /* { dg-do run } */ +/* { dg-require-effective-target int32plus } */ #define TYPE_MAX(type, sign) \ ((!sign) ? ((1 << (sizeof (type) * 8 - 1)) - 1) : \ |