This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug testsuite/51057] FAIL: gfortran.dg/quad_2.f90 -O0 execution test on powerpc*-*-*
- From: "sgk at troutmask dot apl.washington.edu" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 03 Dec 2011 21:22:39 +0000
- Subject: [Bug testsuite/51057] FAIL: gfortran.dg/quad_2.f90 -O0 execution test on powerpc*-*-*
- Auto-submitted: auto-generated
- References: <bug-51057-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51057
--- Comment #5 from Steve Kargl <sgk at troutmask dot apl.washington.edu> 2011-12-03 21:22:39 UTC ---
On Sat, Dec 03, 2011 at 09:08:26PM +0000, iains at gcc dot gnu.org wrote:
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51057
>
> --- Comment #4 from Iain Sandoe <iains at gcc dot gnu.org> 2011-12-03 21:08:26 UTC ---
> (In reply to comment #3)
> > On Sat, Dec 03, 2011 at 08:36:43PM +0000, iains at gcc dot gnu.org wrote:
>
> > This test came into being when libquadmath came into the tree.
> > The correct, and only, solution for targets whose long double
> > representation is double-double math is to XFAIL the test on those
> > targets.
>
> Elsewhere in the test suite, if a test is meaningless or impossible
> to complete in the absence of a capability - the test is made
> conditional on that capability, rather than having a long list of XFAILs.
Well, there is
! { dg-require-effective-target fortran_large_real }
but I believe that that is insufficient in detecting ppc's use
of a double-double representation for its long double. I also
don't know if there is an equivalent effective-target to provide
the required differentiation.
> If this is really not possible here, then I'll prepare an XFAIL
> patch, but it's not an ideal solution.
It's not a long list if you XFAIL this for all ppc systems.
You need something along the lines
! { dg-do run { target { ! { ppc*-*-* } } } }