Commit d1188689 by Senthil Kumar Selvaraj Committed by Senthil Kumar Selvaraj

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
parent 9a38acdf
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
......
__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) : \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment