From 12c2ab7bb4afa162e0c47ec2bef1b82fd5e38c7d Mon Sep 17 00:00:00 2001 From: Michael Collison Date: Wed, 9 Aug 2017 21:46:10 +0000 Subject: [PATCH] packed8.C: Remove -mstructure-size- boundary option and fix comment. 2017-08-09 Michael Collison * testsuite/g++.dg/ext/packed8.C: Remove -mstructure-size- boundary option and fix comment. * testsuite/g++.dg/init/array16.C: Remove -mstructure-size- boundary option and fix comment. * testsuite/g++.dg/other/crash-4.C: Remove -mstructure-size- boundary option and fix comment. * testsuite/gcc.dg/builtin-stringop-chk-1.c: Remove -mstructure-size boundary option. From-SVN: r251010 --- gcc/testsuite/ChangeLog | 11 +++++++++++ gcc/testsuite/g++.dg/ext/packed8.C | 4 +--- gcc/testsuite/g++.dg/init/array16.C | 4 +--- gcc/testsuite/g++.dg/other/crash-4.C | 4 +--- gcc/testsuite/gcc.dg/builtin-stringop-chk-1.c | 1 - 5 files changed, 14 insertions(+), 10 deletions(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index f34416b950a..c2fea60edec 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,14 @@ +2017-08-09 Michael Collison + + * testsuite/g++.dg/ext/packed8.C: Remove -mstructure-size- + boundary option and fix comment. + * testsuite/g++.dg/init/array16.C: Remove -mstructure-size- + boundary option and fix comment. + * testsuite/g++.dg/other/crash-4.C: Remove -mstructure-size- + boundary option and fix comment. + * testsuite/gcc.dg/builtin-stringop-chk-1.c: Remove + -mstructure-size boundary option. + 2017-08-09 Segher Boessenkool PR rtl-optimization/81423 diff --git a/gcc/testsuite/g++.dg/ext/packed8.C b/gcc/testsuite/g++.dg/ext/packed8.C index 91ee8b3ee74..1476010cef3 100644 --- a/gcc/testsuite/g++.dg/ext/packed8.C +++ b/gcc/testsuite/g++.dg/ext/packed8.C @@ -1,8 +1,6 @@ // 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*-*-* } } +// structure layout. class A { diff --git a/gcc/testsuite/g++.dg/init/array16.C b/gcc/testsuite/g++.dg/init/array16.C index 188d1a84ff1..2f6c63dc8db 100644 --- a/gcc/testsuite/g++.dg/init/array16.C +++ b/gcc/testsuite/g++.dg/init/array16.C @@ -1,7 +1,6 @@ // Causes timeout for the MMIX simulator on a 3GHz P4 and we can't // have "compile" for some targets and "run" for others. // { dg-do run { target { ! mmix-*-* } } } -// { dg-options "-mstructure-size-boundary=8" { target arm*-*-* } } // Copyright (C) 2004 Free Software Foundation, Inc. // Contributed by Nathan Sidwell 8 Dec 2004 @@ -10,8 +9,7 @@ // Origin: Matt LaFary // 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. +// a 5MB array. struct elt { diff --git a/gcc/testsuite/g++.dg/other/crash-4.C b/gcc/testsuite/g++.dg/other/crash-4.C index a77fe05d487..db5c5bd8a8e 100644 --- a/gcc/testsuite/g++.dg/other/crash-4.C +++ b/gcc/testsuite/g++.dg/other/crash-4.C @@ -5,9 +5,7 @@ // 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*-*-* } } +// structure layout. struct a { diff --git a/gcc/testsuite/gcc.dg/builtin-stringop-chk-1.c b/gcc/testsuite/gcc.dg/builtin-stringop-chk-1.c index e2655785444..35cc6dc93bb 100644 --- a/gcc/testsuite/gcc.dg/builtin-stringop-chk-1.c +++ b/gcc/testsuite/gcc.dg/builtin-stringop-chk-1.c @@ -2,7 +2,6 @@ are emitted properly. */ /* { dg-do compile } */ /* { dg-options "-O2 -Wno-format -std=gnu99 -ftrack-macro-expansion=0" } */ -/* { dg-additional-options "-mstructure-size-boundary=8" { target arm*-*-* } } */ // { dg-skip-if "packed attribute missing for t" { "epiphany-*-*" } } extern void abort (void); -- 2.30.2