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
This commit is contained in:
parent
9a38acdfdc
commit
d118868932
3 changed files with 10 additions and 1 deletions
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
};
|
||||
|
|
|
@ -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) : \
|
||||
|
|
Loading…
Add table
Reference in a new issue