[Patch, Fortran, committed] Add libquadmath testcase gfortran.dg/quad_2.f90
Steve Kargl
sgk@troutmask.apl.washington.edu
Tue Nov 8 15:41:00 GMT 2011
On Tue, Nov 08, 2011 at 11:14:52AM +0100, Rainer Orth wrote:
> Steve Kargl <sgk@troutmask.apl.washington.edu> writes:
>
> > On Mon, Nov 07, 2011 at 09:55:48PM +0100, Eric Botcazou wrote:
> >> > The test uses the largest available floating-point number - be it 8, 10
> >> > or 16 - and tests for that. The checks should be thus OK for any system.
> >>
> >> It fails with a link failure on SPARC Solaris 8 and 9:
> >>
> >> FAIL: gfortran.dg/quad_2.f90 -O0 (test for excess errors)
> >> Excess errors:
> >> Undefined first referenced
> >> symbol in file
> >> sqrtl /var/tmp//ccU7N9qc.o
> >> ld: fatal: Symbol referencing errors. No output written to ./quad_2.exe
> >
> > I suppose the obvious question is 'does libm on sparc solaris 8/9
> > contain a long double sqrtl() function?' If the answer is no,
> > then xfail the testcase.
>
> Please no: sqrtl is a C99 addition, and we don't want lists of non-C99
> targets in tests that require them.
>
OK, so, then we simply accept that running a regression test
on these targets will always FAIL? If the answer is 'yes',
then please close this PR because I doubt anyone will implement
sqrtl().
--
Steve
More information about the Gcc-patches
mailing list