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. -- Steve