This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[testsuite, fortran] Compile gfortran.dg/fmt_g0_5.f08 with -mieee


The new gfortran.dg/fmt_g0_5.f08 test fails on Tru64 UNIX at runtime
with

Floating point exception

but passes if compiled with -mieee.

The following patch implements this, tested with the appropriate runtest
invocation.

Ok for mainline?

	Rainer


2011-04-18  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>

	* gfortran.dg/fmt_g0_5.f08: Use dg-add-options ieee.

Index: gcc/testsuite/gfortran.dg/fmt_g0_5.f08
===================================================================
--- gcc/testsuite/gfortran.dg/fmt_g0_5.f08	(revision 172652)
+++ gcc/testsuite/gfortran.dg/fmt_g0_5.f08	(working copy)
@@ -1,4 +1,5 @@
 ! { dg-do run }
+! { dg-add-options ieee }
 ! PR48589 Invalid G0/G0.d editing for NaN/infinity
 ! Test case by Thomas Henlich
 program test_g0_special


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]