* [Testsuite] Fix arm triplets in some testcases.
@ 2013-06-05 10:32 James Greenhalgh
2013-06-05 10:57 ` Richard Earnshaw
0 siblings, 1 reply; 2+ messages in thread
From: James Greenhalgh @ 2013-06-05 10:32 UTC (permalink / raw)
To: gcc-patches; +Cc: ramana.radhakrishnan
[-- Attachment #1: Type: text/plain, Size: 610 bytes --]
Hi,
Some ARM triplets are of the form armv7l-unknown-linux-gnueabihf.
For these arm-*-* will not match, so fix this with arm*-*-*.
Nor will arm*-*-*eabi, so fix this with arm*-*-*eabi*.
Tested with a run of the affected tests on an
armv7l-unknown-linux-gnueabihf target, showing FAIL->PASS.
OK?
Thanks,
James
---
gcc/testsuite
2013-06-05 James Greenhalgh <james.greenhalgh@arm.com>
* gcc.dg/fshort-wchar.c: Add extra dg-options for
arm*-*-*eabi* targets.
* gcc.dg/tree-ssa/pr42585.c: Change dg-final to catch
arm*-*-* targets.
* gcc.dg/tree-ssa/pr43491.c: Likewise.
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-Testsuite-Fix-arm-triplets-in-some-testcases.patch --]
[-- Type: text/x-patch; name=0001-Testsuite-Fix-arm-triplets-in-some-testcases.patch, Size: 2564 bytes --]
diff --git a/gcc/testsuite/gcc.dg/fshort-wchar.c b/gcc/testsuite/gcc.dg/fshort-wchar.c
index c9c7515..bb69881 100644
--- a/gcc/testsuite/gcc.dg/fshort-wchar.c
+++ b/gcc/testsuite/gcc.dg/fshort-wchar.c
@@ -2,7 +2,7 @@
/* { dg-do run } */
/* { dg-options "-fshort-wchar" } */
-/* { dg-options "-fshort-wchar -Wl,--no-wchar-size-warning" { target arm*-*-*eabi } } */
+/* { dg-options "-fshort-wchar -Wl,--no-wchar-size-warning" { target arm*-*-*eabi* } } */
/* Source: Neil Booth, 10 Dec 2002.
diff --git a/gcc/testsuite/gcc.dg/tree-ssa/pr42585.c b/gcc/testsuite/gcc.dg/tree-ssa/pr42585.c
index d01b8ab..520c357 100644
--- a/gcc/testsuite/gcc.dg/tree-ssa/pr42585.c
+++ b/gcc/testsuite/gcc.dg/tree-ssa/pr42585.c
@@ -35,6 +35,6 @@ Cyc_string_ungetc (int ignore, struct _fat_ptr *sptr)
/* Whether the structs are totally scalarized or not depends on the
MOVE_RATIO macro defintion in the back end. The scalarization will
not take place when using small values for MOVE_RATIO. */
-/* { dg-final { scan-tree-dump-times "struct _fat_ptr _ans" 0 "optimized" { target { ! "arm-*-* powerpc*-*-* s390*-*-* sh*-*-*" } } } } */
-/* { dg-final { scan-tree-dump-times "struct _fat_ptr _T2" 0 "optimized" { target { ! "arm-*-* powerpc*-*-* s390*-*-* sh*-*-*" } } } } */
+/* { dg-final { scan-tree-dump-times "struct _fat_ptr _ans" 0 "optimized" { target { ! "arm*-*-* powerpc*-*-* s390*-*-* sh*-*-*" } } } } */
+/* { dg-final { scan-tree-dump-times "struct _fat_ptr _T2" 0 "optimized" { target { ! "arm*-*-* powerpc*-*-* s390*-*-* sh*-*-*" } } } } */
/* { dg-final { cleanup-tree-dump "optimized" } } */
diff --git a/gcc/testsuite/gcc.dg/tree-ssa/pr43491.c b/gcc/testsuite/gcc.dg/tree-ssa/pr43491.c
index 2473400..44dc5f2 100644
--- a/gcc/testsuite/gcc.dg/tree-ssa/pr43491.c
+++ b/gcc/testsuite/gcc.dg/tree-ssa/pr43491.c
@@ -37,6 +37,6 @@ long foo(long data, long v)
}
/* We should not eliminate global register variable when it is the RHS of
a single assignment. */
-/* { dg-final { scan-tree-dump-times "Eliminated: 2" 1 "pre" { target { arm-*-* i?86-*-* mips*-*-* x86_64-*-* } } } } */
-/* { dg-final { scan-tree-dump-times "Eliminated: 3" 1 "pre" { target { ! { arm-*-* i?86-*-* mips*-*-* x86_64-*-* } } } } } */
+/* { dg-final { scan-tree-dump-times "Eliminated: 2" 1 "pre" { target { arm*-*-* i?86-*-* mips*-*-* x86_64-*-* } } } } */
+/* { dg-final { scan-tree-dump-times "Eliminated: 3" 1 "pre" { target { ! { arm*-*-* i?86-*-* mips*-*-* x86_64-*-* } } } } } */
/* { dg-final { cleanup-tree-dump "pre" } } */
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [Testsuite] Fix arm triplets in some testcases.
2013-06-05 10:32 [Testsuite] Fix arm triplets in some testcases James Greenhalgh
@ 2013-06-05 10:57 ` Richard Earnshaw
0 siblings, 0 replies; 2+ messages in thread
From: Richard Earnshaw @ 2013-06-05 10:57 UTC (permalink / raw)
To: James Greenhalgh; +Cc: gcc-patches, Ramana Radhakrishnan
On 05/06/13 11:32, James Greenhalgh wrote:
>
> Hi,
>
> Some ARM triplets are of the form armv7l-unknown-linux-gnueabihf.
>
> For these arm-*-* will not match, so fix this with arm*-*-*.
>
> Nor will arm*-*-*eabi, so fix this with arm*-*-*eabi*.
>
> Tested with a run of the affected tests on an
> armv7l-unknown-linux-gnueabihf target, showing FAIL->PASS.
>
> OK?
>
> Thanks,
> James
>
> ---
> gcc/testsuite
>
> 2013-06-05 James Greenhalgh <james.greenhalgh@arm.com>
>
> * gcc.dg/fshort-wchar.c: Add extra dg-options for
> arm*-*-*eabi* targets.
> * gcc.dg/tree-ssa/pr42585.c: Change dg-final to catch
> arm*-*-* targets.
> * gcc.dg/tree-ssa/pr43491.c: Likewise.
>
>
OK.
R.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-06-05 10:57 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-06-05 10:32 [Testsuite] Fix arm triplets in some testcases James Greenhalgh
2013-06-05 10:57 ` Richard Earnshaw
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).