bswap-2.c: Require int32plus.
authorSenthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
Thu, 9 Jun 2016 14:32:08 +0000 (14:32 +0000)
committerMike Stump <mrs@gcc.gnu.org>
Thu, 9 Jun 2016 14:32:08 +0000 (14:32 +0000)
2016-06-09  Senthil Kumar Selvaraj  <senthil_kumar.selvaraj@atmel.com>

* 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  <senthil_kumar.selvaraj@atmel.com>

* gcc.dg/stack-usage-1.c (SIZE): Consider return address
  when setting SIZE.

From-SVN: r237266

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/execute/bswap-2.c
gcc/testsuite/gcc.dg/stack-usage-1.c
gcc/testsuite/gcc.dg/torture/pr68067-1.c
gcc/testsuite/gcc.dg/torture/pr68067-2.c

index b1ea45ada40a54fcba75d11df6e0486445099eeb..6e792aad5efaeacf845be421c14e0ebcde7bc2d4 100644 (file)
@@ -1,3 +1,14 @@
+2016-06-09  Senthil Kumar Selvaraj  <senthil_kumar.selvaraj@atmel.com>
+
+       * 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  <senthil_kumar.selvaraj@atmel.com>
+
+       * gcc.dg/stack-usage-1.c (SIZE): Consider return address
+         when setting SIZE.
+
 2016-06-09  Paolo Carlini  <paolo.carlini@oracle.com>
 
        PR c++/71465
index 88132fe78592da0303d0a7beeb8feb5926064415..63e7807d3d92f317942da9b5b9eb516c4bdbac5d 100644 (file)
@@ -1,3 +1,5 @@
+/* { dg-require-effective-target int32plus } */
+
 #ifdef __UINT32_TYPE__
 typedef __UINT32_TYPE__ uint32_t;
 #else
index 7864c6a282ba021d702aaba4802e655305b34a7c..bdc56565d97a718b13c2ae338c701a8460d33ff4 100644 (file)
 #    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__)
index a7b6aa041d906876bccc40ef887e6d6103681b96..f8ad3ca0168d8e2fa78de58efc30f252b2938798 100644 (file)
@@ -1,4 +1,5 @@
 /* { dg-do run } */
+/* { dg-require-effective-target int32plus } */
 
 int main()
 {
index 38a459bf7f153d4dd11376723315b7b0b9afb575..e03bf227301a5a9893715e268ef778e5c93d4a1c 100644 (file)
@@ -1,4 +1,5 @@
 /* { dg-do run } */
+/* { dg-require-effective-target int32plus } */
 
 int main()
 {