aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture
diff options
context:
space:
mode:
authorSenthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>2016-08-24 08:36:56 +0000
committerSenthil Kumar Selvaraj <saaadhu@gcc.gnu.org>2016-08-24 08:36:56 +0000
commitd118868932f7fa623b09ead24732daf1e553c145 (patch)
tree3f86a9c3b75b68fed04452391617fedf6b1f3bfa /gcc/testsuite/gcc.c-torture
parent9a38acdfdce27d0e05e5167ebc210cfa8ff677bc (diff)
downloadgcc-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/testsuite/gcc.c-torture')
-rw-r--r--gcc/testsuite/gcc.c-torture/execute/pr71083.c4
1 files changed, 3 insertions, 1 deletions
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;
};