aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Gingold <gingold@gcc.gnu.org>2010-09-29 08:47:31 +0000
committerTristan Gingold <gingold@gcc.gnu.org>2010-09-29 08:47:31 +0000
commit38df2baf3f40af1c1af065993cf86e0254b765df (patch)
tree65371f60a9af8dbd426012bf7ebec9bf6d8bca76
parent1973201f322176cdcc551f7ab968c4e5cd66cd83 (diff)
downloadgcc-38df2baf3f40af1c1af065993cf86e0254b765df.zip
gcc-38df2baf3f40af1c1af065993cf86e0254b765df.tar.gz
gcc-38df2baf3f40af1c1af065993cf86e0254b765df.tar.bz2
stack-usage-1.c (SIZE): Adjust for avr.
2010-09-29 Tristan Gingold <gingold@adacore.com> * gcc.dg/stack-usage-1.c (SIZE): Adjust for avr. From-SVN: r164716
-rw-r--r--gcc/testsuite/ChangeLog10
-rw-r--r--gcc/testsuite/gcc.dg/stack-usage-1.c2
2 files changed, 9 insertions, 3 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 213e35c..cc0237b 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,7 @@
+2010-09-29 Tristan Gingold <gingold@adacore.com>
+
+ * gcc.dg/stack-usage-1.c (SIZE): Adjust for avr.
+
2010-09-29 Nicola Pero <nicola.pero@meta-innovation.com>
* objc.dg/keywords-1.m: New test.
@@ -77,7 +81,7 @@
Radar 4175534
* obj-c++.dg/method-22.mm: New.
-
+
2010-09-27 Jason Merrill <jason@redhat.com>
* g++.dg/cpp0x/rv-lvalue-req.C: New.
@@ -105,8 +109,8 @@
PR objc/45763
* objc.dg/encode-1.m: Execute the test with the GNU runtime as
well.
-
-2010-09-27 Nicola Pero <nicola.pero@meta-innovation.com>
+
+2010-09-27 Nicola Pero <nicola.pero@meta-innovation.com>
PR objc/25450
* objc.dg/encode-3.m: Updated for fix of encoding of enums.
diff --git a/gcc/testsuite/gcc.dg/stack-usage-1.c b/gcc/testsuite/gcc.dg/stack-usage-1.c
index f174882..25ae9a9 100644
--- a/gcc/testsuite/gcc.dg/stack-usage-1.c
+++ b/gcc/testsuite/gcc.dg/stack-usage-1.c
@@ -28,6 +28,8 @@
#elif defined (__powerpc__) || defined (__PPC__) || defined (__ppc__) \
|| defined (__POWERPC__) || defined (PPC) || defined (_IBMR2)
# define SIZE 240
+#elif defined (__AVR__)
+# define SIZE 254
#else
# define SIZE 256
#endif