Patchwork [testsuite] : Fix char4_iunit_1.f03 on alpha, sh and spu

login
register
mail settings
Submitter Uros Bizjak
Date July 27, 2010, 10:32 a.m.
Message ID <AANLkTinVP6DvevfjtcGvWJnPtMRVfo4NmhGLDdO-_x=m@mail.gmail.com>
Download mbox | patch
Permalink /patch/59992/
State New
Headers show

Comments

Uros Bizjak - July 27, 2010, 10:32 a.m.
Hello!

This test needs ieee options on alpha and sh, and should be disabled
on spu due to use of NaNs.

2010-07-27  Uros Bizjak  <ubizjak@gmail.com>

	* gfortran.dg/char4_iunit_1.f03: Add ieee options.
	Skip on spu-*-* targets.

Tested on alphaev68-pc-linux-gnu, committed to mainline SVN.

Uros.

Patch

Index: gfortran.dg/char4_iunit_1.f03
===================================================================
--- gfortran.dg/char4_iunit_1.f03	(revision 162556)
+++ gfortran.dg/char4_iunit_1.f03	(working copy)
@@ -1,4 +1,6 @@ 
 ! { dg-do run }
+! { dg-add-options ieee }
+! { dg-skip-if "NaN not supported" { spu-*-* } { "*" } { "" } }
 ! PR37077 Implement Internal Unit I/O for character KIND=4
 ! Test case prepared by Jerry DeLisle  <jvdelisle@gcc.gnu.org>
 program char4_iunit_1