From: Yao Qi Date: Wed, 11 Aug 2010 02:00:15 +0000 (+0000) Subject: builtin-stringop-chk-1.c: Change ARM triplet to a more general form. X-Git-Tag: releases/gcc-4.6.0~5118 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=1ae0fa1c16c568919d0a269414b4cf564d8529ec;p=thirdparty%2Fgcc.git builtin-stringop-chk-1.c: Change ARM triplet to a more general form. 2010-08-10 Yao Qi * gcc.dg/builtin-stringop-chk-1.c: Change ARM triplet to a more general form. * gcc.dg/tree-ssa/loop-31.c: Likewise. * g++.dg/other/packed1.C: Likewise. * g++.dg/other/crash-4.C: Likewise. * g++.dg/ext/packed8.C: Likewise. * g++.dg/init/array16.C: Likewise. From-SVN: r163088 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 38f0ee015e3a..fe4ce63e71bd 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,13 @@ +2010-08-10 Yao Qi + + * gcc.dg/builtin-stringop-chk-1.c: Change ARM triplet to a more + general form. + * gcc.dg/tree-ssa/loop-31.c: Likewise. + * g++.dg/other/packed1.C: Likewise. + * g++.dg/other/crash-4.C: Likewise. + * g++.dg/ext/packed8.C: Likewise. + * g++.dg/init/array16.C: Likewise. + 2010-08-10 xinliang David Li * gcc.dg/tree-ssa/loop-19.c: Add option -fno-prefetch-loop-array diff --git a/gcc/testsuite/g++.dg/ext/packed8.C b/gcc/testsuite/g++.dg/ext/packed8.C index 1f86cfc0a69e..91ee8b3ee74d 100644 --- a/gcc/testsuite/g++.dg/ext/packed8.C +++ b/gcc/testsuite/g++.dg/ext/packed8.C @@ -2,7 +2,7 @@ // 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-*-* } } +// { 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 be65219075bd..188d1a84ff19 100644 --- a/gcc/testsuite/g++.dg/init/array16.C +++ b/gcc/testsuite/g++.dg/init/array16.C @@ -1,7 +1,7 @@ // 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-*-* } } +// { dg-options "-mstructure-size-boundary=8" { target arm*-*-* } } // Copyright (C) 2004 Free Software Foundation, Inc. // Contributed by Nathan Sidwell 8 Dec 2004 diff --git a/gcc/testsuite/g++.dg/other/crash-4.C b/gcc/testsuite/g++.dg/other/crash-4.C index d6247c44f36b..a77fe05d487a 100644 --- a/gcc/testsuite/g++.dg/other/crash-4.C +++ b/gcc/testsuite/g++.dg/other/crash-4.C @@ -7,7 +7,7 @@ // 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-*-* } } +// { dg-options "-mstructure-size-boundary=8" { target arm*-*-* } } struct a { diff --git a/gcc/testsuite/g++.dg/other/packed1.C b/gcc/testsuite/g++.dg/other/packed1.C index 91d0ed3a7245..7a842d39ad18 100644 --- a/gcc/testsuite/g++.dg/other/packed1.C +++ b/gcc/testsuite/g++.dg/other/packed1.C @@ -1,4 +1,4 @@ -// { dg-do run { xfail arm-*-* sh-*-* lm32-*-* } } +// { dg-do run { xfail arm*-*-* sh-*-* lm32-*-* } } // NMS:2003-04-21 this fails on strict aligned architectures again, // the patch was reverted because it broke something more important. diff --git a/gcc/testsuite/gcc.dg/builtin-stringop-chk-1.c b/gcc/testsuite/gcc.dg/builtin-stringop-chk-1.c index f401d39c2bed..e9fb7db52191 100644 --- a/gcc/testsuite/gcc.dg/builtin-stringop-chk-1.c +++ b/gcc/testsuite/gcc.dg/builtin-stringop-chk-1.c @@ -2,7 +2,7 @@ are emitted properly. */ /* { dg-do compile } */ /* { dg-options "-O2 -std=gnu99" } */ -/* { dg-options "-mstructure-size-boundary=8 -O2 -std=gnu99" { target arm-*-* } } */ +/* { dg-options "-mstructure-size-boundary=8 -O2 -std=gnu99" { target arm*-*-* } } */ extern void abort (void); diff --git a/gcc/testsuite/gcc.dg/tree-ssa/loop-31.c b/gcc/testsuite/gcc.dg/tree-ssa/loop-31.c index 603aec033a77..4f226374bdb0 100644 --- a/gcc/testsuite/gcc.dg/tree-ssa/loop-31.c +++ b/gcc/testsuite/gcc.dg/tree-ssa/loop-31.c @@ -15,7 +15,7 @@ short foo (int len, int v) /* When we do not have addressing mode including multiplication, the memory access should be strength-reduced. */ -/* { dg-final { scan-tree-dump-times " \\+ 2" 1 "optimized" { target arm-*-* } } } */ +/* { dg-final { scan-tree-dump-times " \\+ 2" 1 "optimized" { target arm*-*-* } } } */ /* { dg-final { scan-tree-dump-times " \\+ 2" 1 "optimized" { target { ia64-*-* && ilp32 } } } } */ /* { dg-final { scan-tree-dump-times " \\+ 2" 2 "optimized" { target { ia64-*-* && lp64 } } } } */ /* { dg-final { cleanup-tree-dump "optimized" } } */