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

Submitted by Uros Bizjak on July 27, 2010, 10:32 a.m.

Details

Message ID AANLkTinVP6DvevfjtcGvWJnPtMRVfo4NmhGLDdO-_x=m@mail.gmail.com
State New
Headers show

Commit Message

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 hide | download patch | download mbox

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