* g++.dg/ext/packed8.C: Add -mstructure-size-boundary=8 to
authorjconner <jconner@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 31 Aug 2005 17:08:40 +0000 (17:08 +0000)
committerjconner <jconner@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 31 Aug 2005 17:08:40 +0000 (17:08 +0000)
command-line options for arm-*-* targets.
* g++.dg/init/array16.C: Likewise.
* g++.dg/other/crash-4.C: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@103688 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/ext/packed8.C
gcc/testsuite/g++.dg/init/array16.C
gcc/testsuite/g++.dg/other/crash-4.C

index 9c34189..6e96b8d 100644 (file)
@@ -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
index a68fa2c..61d248e 100644 (file)
@@ -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
 {
index fa4c1b6..bcffa71 100644 (file)
@@ -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 
 {
index 986c498..900afb7 100644 (file)
@@ -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;