From: Senthil Kumar Selvaraj Date: Wed, 24 Aug 2016 08:36:56 +0000 (+0000) Subject: Fix bogus testsuite failures for avr. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d118868932f7fa623b09ead24732daf1e553c145;p=gcc.git Fix bogus testsuite failures for avr. gcc/testsuite/ 2016-08-24 Senthil Kumar Selvaraj * 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 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index fef690908f4..76381eff67e 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2016-08-24 Senthil Kumar Selvaraj + + * 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 PR testsuite/77317 diff --git a/gcc/testsuite/gcc.c-torture/execute/pr71083.c b/gcc/testsuite/gcc.c-torture/execute/pr71083.c index 05744349333..6f80b0f8315 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 6a52678f396..ea2c59c0a7d 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) : \