aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosh Conner <jconner@apple.com>2005-08-31 17:08:40 +0000
committerJosh Conner <jconner@gcc.gnu.org>2005-08-31 17:08:40 +0000
commit9c70f610465a6e904a1b9c0fdc39439629b392c7 (patch)
treeaece2d7ad251eac27bc53e24c992e083b893b0af
parentaf452a2bf90f17916d0f9b12702535cb455f52fd (diff)
downloadgcc-9c70f610465a6e904a1b9c0fdc39439629b392c7.zip
gcc-9c70f610465a6e904a1b9c0fdc39439629b392c7.tar.gz
gcc-9c70f610465a6e904a1b9c0fdc39439629b392c7.tar.bz2
packed8.C: Add -mstructure-size-boundary=8 to command-line options for arm-*-* targets.
* g++.dg/ext/packed8.C: Add -mstructure-size-boundary=8 to command-line options for arm-*-* targets. * g++.dg/init/array16.C: Likewise. * g++.dg/other/crash-4.C: Likewise. From-SVN: r103688
-rw-r--r--gcc/testsuite/ChangeLog7
-rw-r--r--gcc/testsuite/g++.dg/ext/packed8.C4
-rw-r--r--gcc/testsuite/g++.dg/init/array16.C4
-rw-r--r--gcc/testsuite/g++.dg/other/crash-4.C5
4 files changed, 20 insertions, 0 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 9c34189..6e96b8d 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,10 @@
+2005-08-31 Josh Conner <jconner@apple.com>
+
+ * g++.dg/ext/packed8.C: Add -mstructure-size-boundary=8 to
+ command-line options for arm-*-* targets.
+ * g++.dg/init/array16.C: Likewise.
+ * g++.dg/other/crash-4.C: Likewise.
+
2005-08-31 Andrew Pinski <pinskia@physics.uc.edu>
PR obj-c++/23640
diff --git a/gcc/testsuite/g++.dg/ext/packed8.C b/gcc/testsuite/g++.dg/ext/packed8.C
index a68fa2c..61d248e 100644
--- a/gcc/testsuite/g++.dg/ext/packed8.C
+++ b/gcc/testsuite/g++.dg/ext/packed8.C
@@ -1,4 +1,8 @@
// PR c++/18378
+// NOTE: This test assumes packed structure layout differs from unpacked
+// structure layout. This isn't true, e.g., with the default
+// arm-none-elf options.
+// { dg-options "-mstructure-size-boundary=8" { target arm-*-* } }
class A
{
diff --git a/gcc/testsuite/g++.dg/init/array16.C b/gcc/testsuite/g++.dg/init/array16.C
index fa4c1b6..bcffa71 100644
--- a/gcc/testsuite/g++.dg/init/array16.C
+++ b/gcc/testsuite/g++.dg/init/array16.C
@@ -1,4 +1,5 @@
// { dg-do run }
+// { dg-options "-mstructure-size-boundary=8" { target arm-*-* } }
// Copyright (C) 2004 Free Software Foundation, Inc.
// Contributed by Nathan Sidwell 8 Dec 2004 <nathan@codesourcery.com>
@@ -6,6 +7,9 @@
// PR 16681 too much memory used
// Origin: Matt LaFary <lafary@activmedia.com>
+// NOTE: This test assumes that 4M instances of struct ELT can fit into
+// a 5MB array. This isn't true, e.g., with the default
+// arm-none-elf options.
struct elt
{
diff --git a/gcc/testsuite/g++.dg/other/crash-4.C b/gcc/testsuite/g++.dg/other/crash-4.C
index 986c498..900afb7 100644
--- a/gcc/testsuite/g++.dg/other/crash-4.C
+++ b/gcc/testsuite/g++.dg/other/crash-4.C
@@ -4,6 +4,11 @@
// PR 20678: ICE on error message
// Origin: Andrew Pinski pinskia@gcc.gnu.org
+// NOTE: This test assumes packed structure layout differs from unpacked
+// structure layout. This isn't true, e.g., with the default
+// arm-none-elf options.
+// { dg-options "-mstructure-size-boundary=8" { target arm-*-* } }
+
struct a
{
int m;