* [Patch Testsuite] XFAIL gfortran.dg/pr45636.f90 on AArch64
@ 2015-02-10 16:06 James Greenhalgh
2015-02-10 17:29 ` Mike Stump
2015-02-11 10:15 ` Marcus Shawcroft
0 siblings, 2 replies; 4+ messages in thread
From: James Greenhalgh @ 2015-02-10 16:06 UTC (permalink / raw)
To: gcc-patches; +Cc: mikestump, marcus.shawcroft
[-- Attachment #1: Type: text/plain, Size: 435 bytes --]
Hi,
As is already done for mips and hppa, we should XFAIL this test on
AArch64 as we don't currently use the store_by_pieces infrastructure.
We may in future want to tweak this, but for GCC 5.0 the safe thing
to do is just to XFAIL the test.
Tested with aarch64-none-elf.
OK?
Thanks,
James
---
2015-02-10 James Greenhalgh <james.greenhalgh@arm.com>
* gfortran.dg/pr45636.f90: XFAIL for aarch64* targets.
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-Patch-Testsuite-XFAIL-gfortran.dg-pr45636.f90-on-AAr.patch --]
[-- Type: text/x-patch; name=0001-Patch-Testsuite-XFAIL-gfortran.dg-pr45636.f90-on-AAr.patch, Size: 650 bytes --]
diff --git a/gcc/testsuite/gfortran.dg/pr45636.f90 b/gcc/testsuite/gfortran.dg/pr45636.f90
index c80dda4..e3d8ca6 100644
--- a/gcc/testsuite/gfortran.dg/pr45636.f90
+++ b/gcc/testsuite/gfortran.dg/pr45636.f90
@@ -10,5 +10,5 @@ program main
b = y
call sub(a, b)
end program main
-! { dg-final { scan-tree-dump-times "memset" 0 "forwprop2" { xfail { { hppa*-*-* && { ! lp64 } } || { mips*-*-* && { ! nomips16 } } } } } }
+! { dg-final { scan-tree-dump-times "memset" 0 "forwprop2" { xfail { { hppa*-*-* && { ! lp64 } } || { { mips*-*-* && { ! nomips16 } } || { aarch64*-*-* } } } } } }
! { dg-final { cleanup-tree-dump "forwprop2" } }
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Patch Testsuite] XFAIL gfortran.dg/pr45636.f90 on AArch64
2015-02-10 16:06 [Patch Testsuite] XFAIL gfortran.dg/pr45636.f90 on AArch64 James Greenhalgh
@ 2015-02-10 17:29 ` Mike Stump
2015-02-11 10:15 ` Marcus Shawcroft
1 sibling, 0 replies; 4+ messages in thread
From: Mike Stump @ 2015-02-10 17:29 UTC (permalink / raw)
To: James Greenhalgh; +Cc: gcc-patches, marcus.shawcroft
On Feb 10, 2015, at 8:06 AM, James Greenhalgh <james.greenhalgh@arm.com> wrote:
> As is already done for mips and hppa, we should XFAIL this test on
> AArch64 as we don't currently use the store_by_pieces infrastructure.
For this patch, either this is obvious or a target person should weigh in. I’d only step in if the target maintainers went MIA.
My only comment would be, add a /* move_by_pieces */ or something above the xfail that would indicate to the next person doing a port that gets a fail, if they are in the same boat as all the others.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Patch Testsuite] XFAIL gfortran.dg/pr45636.f90 on AArch64
2015-02-10 16:06 [Patch Testsuite] XFAIL gfortran.dg/pr45636.f90 on AArch64 James Greenhalgh
2015-02-10 17:29 ` Mike Stump
@ 2015-02-11 10:15 ` Marcus Shawcroft
2015-02-12 14:09 ` James Greenhalgh
1 sibling, 1 reply; 4+ messages in thread
From: Marcus Shawcroft @ 2015-02-11 10:15 UTC (permalink / raw)
To: James Greenhalgh; +Cc: gcc-patches, Mike Stump
On 10 February 2015 at 16:06, James Greenhalgh <james.greenhalgh@arm.com> wrote:
>
> Hi,
>
> As is already done for mips and hppa, we should XFAIL this test on
> AArch64 as we don't currently use the store_by_pieces infrastructure.
>
> We may in future want to tweak this, but for GCC 5.0 the safe thing
> to do is just to XFAIL the test.
>
> Tested with aarch64-none-elf.
>
> OK?
Ok, with Mike's comment addressed... /Marcus
> Thanks,
> James
>
> ---
> 2015-02-10 James Greenhalgh <james.greenhalgh@arm.com>
>
> * gfortran.dg/pr45636.f90: XFAIL for aarch64* targets.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Patch Testsuite] XFAIL gfortran.dg/pr45636.f90 on AArch64
2015-02-11 10:15 ` Marcus Shawcroft
@ 2015-02-12 14:09 ` James Greenhalgh
0 siblings, 0 replies; 4+ messages in thread
From: James Greenhalgh @ 2015-02-12 14:09 UTC (permalink / raw)
To: Marcus Shawcroft; +Cc: gcc-patches
On Wed, Feb 11, 2015 at 10:15:42AM +0000, Marcus Shawcroft wrote:
> On 10 February 2015 at 16:06, James Greenhalgh <james.greenhalgh@arm.com> wrote:
> >
> > Hi,
> >
> > As is already done for mips and hppa, we should XFAIL this test on
> > AArch64 as we don't currently use the store_by_pieces infrastructure.
> >
> > We may in future want to tweak this, but for GCC 5.0 the safe thing
> > to do is just to XFAIL the test.
> >
> > Tested with aarch64-none-elf.
> >
> > OK?
>
> Ok, with Mike's comment addressed... /Marcus
>
Makes sense to me.
In the end, I committed the below as r220647 after checking that that
the patch still worked for aarch64-none-elf.
Cheers,
James
---
Index: gcc/testsuite/ChangeLog
===================================================================
--- gcc/testsuite/ChangeLog (revision 220646)
+++ gcc/testsuite/ChangeLog (working copy)
@@ -1,3 +1,7 @@
+2015-02-12 James Greenhalgh <james.greenhalgh@arm.com>
+
+ * gfortran.dg/pr45636.f90: XFAIL for aarch64* targets.
+
2015-02-12 Jakub Jelinek <jakub@redhat.com>
PR testsuite/64930
Index: gcc/testsuite/gfortran.dg/pr45636.f90
===================================================================
--- gcc/testsuite/gfortran.dg/pr45636.f90 (revision 220646)
+++ gcc/testsuite/gfortran.dg/pr45636.f90 (working copy)
@@ -10,5 +10,7 @@
b = y
call sub(a, b)
end program main
-! { dg-final { scan-tree-dump-times "memset" 0 "forwprop2" { xfail { { hppa*-*-* && { ! lp64 } } || { mips*-*-* && { ! nomips16 } } } } } }
+! This test will fail on targets which prefer memcpy/memset over
+! move_by_pieces/store_by_pieces.
+! { dg-final { scan-tree-dump-times "memset" 0 "forwprop2" { xfail { { hppa*-*-* && { ! lp64 } } || { { mips*-*-* && { ! nomips16 } } || { aarch64*-*-* } } } } } }
! { dg-final { cleanup-tree-dump "forwprop2" } }
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2015-02-12 14:09 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-02-10 16:06 [Patch Testsuite] XFAIL gfortran.dg/pr45636.f90 on AArch64 James Greenhalgh
2015-02-10 17:29 ` Mike Stump
2015-02-11 10:15 ` Marcus Shawcroft
2015-02-12 14:09 ` James Greenhalgh
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).