[testsuite] Skip gfortran.dg/erf_3.F90 and gfortran.dg/round_4.f90 on Solaris 9 (PR libfortran/59313, libfortran/58015)

Rainer Orth ro@CeBiTec.Uni-Bielefeld.DE
Mon Feb 24 10:12:00 GMT 2014


As described in the PRs, gfortran.dg/erf_3.F90 and
gfortran.dg/round_4.f90 fail to link on Solaris 9/SPARC resp. Solaris 9/SPARC
and x86 due to missing C99 support in libm.  Eric already closed the
first PR since Solaris 9 support has been obsoleted in GCC 4.9, so I
think it's best to skip the tests since it's unlikely that any
fix/workaround will be forthcoming before the 4.9 release.  It's
necessary to skip the tests instead of xfailing them since otherwise we
still get warnings like

WARNING: gfortran.dg/round_4.f90  -O0  compilation failed to produce executable

I just added PR references with the dg-skip-if since I didn't see the
point of repeating the bugzilla information in the testcases.

Tested with the appropriate runtest invocations on
sparc-sun-solaris2.{9, 11}, i386-pc-solaris2.{9, 11}, and
x86_64-unknown-linux-gnu.

Ok for mainline?

	Rainer


2014-02-24  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>

	PR libfortran/59313
	* gfortran.dg/erf_3.F90: Skip on sparc*-*-solaris2.9*.

	PR libfortran/58015
	* gfortran.dg/round_4.f90: Skip on *-*-solaris2.9*.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: sol9-testsuite-erf_3-round_4-skip.patch
Type: text/x-patch
Size: 1025 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20140224/1b6b1c8f/attachment.bin>
-------------- next part --------------

-- 
-----------------------------------------------------------------------------
Rainer Orth, Center for Biotechnology, Bielefeld University


More information about the Fortran mailing list