From: Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
To: gcc-patches@gcc.gnu.org
Cc: fortran@gcc.gnu.org, Jerry DeLisle <jvdelisle@gcc.gnu.org>
Subject: [testsuite, fortran] Compile gfortran.dg/fmt_g0_5.f08 with -mieee
Date: Mon, 18 Apr 2011 15:29:00 -0000 [thread overview]
Message-ID: <yddk4erppup.fsf@manam.CeBiTec.Uni-Bielefeld.DE> (raw)
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
next reply other threads:[~2011-04-18 15:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-04-18 15:29 Rainer Orth [this message]
2011-04-18 15:38 ` Janne Blomqvist
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=yddk4erppup.fsf@manam.CeBiTec.Uni-Bielefeld.DE \
--to=ro@cebitec.uni-bielefeld.de \
--cc=fortran@gcc.gnu.org \
--cc=gcc-patches@gcc.gnu.org \
--cc=jvdelisle@gcc.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).