From 9c35db0e0dcaea209e00e011715aba80c314b638 Mon Sep 17 00:00:00 2001 From: Senthil Kumar Selvaraj Date: Thu, 9 Jun 2016 14:32:08 +0000 Subject: [PATCH] bswap-2.c: Require int32plus. 2016-06-09 Senthil Kumar Selvaraj * gcc.c-torture/execute/bswap-2.c: Require int32plus. * gcc.dg/torture/pr68067-1.c: Likewise. * gcc.dg/torture/pr68067-2.c: Likewise. 2016-06-09 Senthil Kumar Selvaraj * gcc.dg/stack-usage-1.c (SIZE): Consider return address when setting SIZE. From-SVN: r237266 --- gcc/testsuite/ChangeLog | 11 +++++++++++ gcc/testsuite/gcc.c-torture/execute/bswap-2.c | 2 ++ gcc/testsuite/gcc.dg/stack-usage-1.c | 6 +++++- gcc/testsuite/gcc.dg/torture/pr68067-1.c | 1 + gcc/testsuite/gcc.dg/torture/pr68067-2.c | 1 + 5 files changed, 20 insertions(+), 1 deletion(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index b1ea45ada40..6e792aad5ef 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,14 @@ +2016-06-09 Senthil Kumar Selvaraj + + * gcc.c-torture/execute/bswap-2.c: Require int32plus. + * gcc.dg/torture/pr68067-1.c: Likewise. + * gcc.dg/torture/pr68067-2.c: Likewise. + +2016-06-09 Senthil Kumar Selvaraj + + * gcc.dg/stack-usage-1.c (SIZE): Consider return address + when setting SIZE. + 2016-06-09 Paolo Carlini PR c++/71465 diff --git a/gcc/testsuite/gcc.c-torture/execute/bswap-2.c b/gcc/testsuite/gcc.c-torture/execute/bswap-2.c index 88132fe7859..63e7807d3d9 100644 --- a/gcc/testsuite/gcc.c-torture/execute/bswap-2.c +++ b/gcc/testsuite/gcc.c-torture/execute/bswap-2.c @@ -1,3 +1,5 @@ +/* { dg-require-effective-target int32plus } */ + #ifdef __UINT32_TYPE__ typedef __UINT32_TYPE__ uint32_t; #else diff --git a/gcc/testsuite/gcc.dg/stack-usage-1.c b/gcc/testsuite/gcc.dg/stack-usage-1.c index 7864c6a282b..bdc56565d97 100644 --- a/gcc/testsuite/gcc.dg/stack-usage-1.c +++ b/gcc/testsuite/gcc.dg/stack-usage-1.c @@ -64,7 +64,11 @@ # define SIZE 240 # endif #elif defined (__AVR__) -# define SIZE 254 +#if defined (__AVR_3_BYTE_PC__ ) +# define SIZE 251 /* 256 - 2 bytes for Y - 3 bytes for return address */ +#else +# define SIZE 252 /* 256 - 2 bytes for Y - 2 bytes for return address */ +#endif #elif defined (__s390x__) # define SIZE 96 /* 256 - 160 bytes for register save area */ #elif defined (__s390__) diff --git a/gcc/testsuite/gcc.dg/torture/pr68067-1.c b/gcc/testsuite/gcc.dg/torture/pr68067-1.c index a7b6aa041d9..f8ad3ca0168 100644 --- a/gcc/testsuite/gcc.dg/torture/pr68067-1.c +++ b/gcc/testsuite/gcc.dg/torture/pr68067-1.c @@ -1,4 +1,5 @@ /* { dg-do run } */ +/* { dg-require-effective-target int32plus } */ int main() { diff --git a/gcc/testsuite/gcc.dg/torture/pr68067-2.c b/gcc/testsuite/gcc.dg/torture/pr68067-2.c index 38a459bf7f1..e03bf227301 100644 --- a/gcc/testsuite/gcc.dg/torture/pr68067-2.c +++ b/gcc/testsuite/gcc.dg/torture/pr68067-2.c @@ -1,4 +1,5 @@ /* { dg-do run } */ +/* { dg-require-effective-target int32plus } */ int main() { -- 2.30.2