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
This commit is contained in:
Josh Conner 2005-08-31 17:08:40 +00:00 committed by Josh Conner
parent af452a2bf9
commit 9c70f61046
4 changed files with 20 additions and 0 deletions

View 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

View 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
{

View 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
{

View 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;