public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [testsuite, fortran] Compile gfortran.dg/fmt_g0_5.f08 with -mieee
@ 2011-04-18 15:29 Rainer Orth
  2011-04-18 15:38 ` Janne Blomqvist
  0 siblings, 1 reply; 2+ messages in thread
From: Rainer Orth @ 2011-04-18 15:29 UTC (permalink / raw)
  To: gcc-patches; +Cc: fortran, Jerry DeLisle

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [testsuite, fortran] Compile gfortran.dg/fmt_g0_5.f08 with -mieee
  2011-04-18 15:29 [testsuite, fortran] Compile gfortran.dg/fmt_g0_5.f08 with -mieee Rainer Orth
@ 2011-04-18 15:38 ` Janne Blomqvist
  0 siblings, 0 replies; 2+ messages in thread
From: Janne Blomqvist @ 2011-04-18 15:38 UTC (permalink / raw)
  To: Rainer Orth; +Cc: gcc-patches, fortran, Jerry DeLisle

On Mon, Apr 18, 2011 at 17:59, Rainer Orth <ro@cebitec.uni-bielefeld.de> wrote:
> 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?

Ok. Thanks for the patch.


-- 
Janne Blomqvist

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-04-18 15:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-04-18 15:29 [testsuite, fortran] Compile gfortran.dg/fmt_g0_5.f08 with -mieee Rainer Orth
2011-04-18 15:38 ` Janne Blomqvist

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).