This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug testsuite/51057] FAIL: gfortran.dg/quad_2.f90 -O0 execution test on powerpc*-*-*


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*-*-* } } } }


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]