public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH, fortran testsuite]: A couple of fixes in gfortran.dg/ieee directory
@ 2014-07-15 16:18 Uros Bizjak
  2014-07-15 18:54 ` Uros Bizjak
  0 siblings, 1 reply; 3+ messages in thread
From: Uros Bizjak @ 2014-07-15 16:18 UTC (permalink / raw)
  To: gcc-patches; +Cc: Fortran List, FX Coudert

Hello!

Attached trivial patch renames a couple of files to more consistent
names (as suggested by FX).

The patch also adds -mieee-with-inexact for alpha where needed.

2014-07-15  Uros Bizjak  <ubizjak@gmail.com>

    * gfortran.dg/ieee/rounding_1.f90: Rename from ieee_rounding_1.f90.
    * gfortran.dg/ieee/ieee_1.f90: Rename from ieee_1.F90.
    (dg-additional-options): Add -mieee-with-inexact for alpha*-*-*.

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

Uros.

Index: ieee_1.f90
===================================================================
--- ieee_1.f90  (revision 212567)
+++ ieee_1.f90  (working copy)
@@ -1,5 +1,6 @@
 ! { dg-do run }
 ! { dg-additional-options "-ffree-line-length-none" }
+! { dg-additional-options "-mieee-with-inexact" { target alpha*-*-* } }
 !
 ! Use dg-additional-options rather than dg-options to avoid overwriting the
 ! default IEEE options which are passed by ieee.exp and necessary.

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

* Re: [PATCH, fortran testsuite]: A couple of fixes in gfortran.dg/ieee directory
  2014-07-15 16:18 [PATCH, fortran testsuite]: A couple of fixes in gfortran.dg/ieee directory Uros Bizjak
@ 2014-07-15 18:54 ` Uros Bizjak
  2014-07-15 20:03   ` FX
  0 siblings, 1 reply; 3+ messages in thread
From: Uros Bizjak @ 2014-07-15 18:54 UTC (permalink / raw)
  To: gcc-patches; +Cc: Fortran List, FX Coudert

On Tue, Jul 15, 2014 at 6:15 PM, Uros Bizjak <ubizjak@gmail.com> wrote:

> Attached trivial patch renames a couple of files to more consistent
> names (as suggested by FX).
>
> The patch also adds -mieee-with-inexact for alpha where needed.
>
> 2014-07-15  Uros Bizjak  <ubizjak@gmail.com>
>
>     * gfortran.dg/ieee/rounding_1.f90: Rename from ieee_rounding_1.f90.
>     * gfortran.dg/ieee/ieee_1.f90: Rename from ieee_1.F90.
>     (dg-additional-options): Add -mieee-with-inexact for alpha*-*-*.

And yes, I learned in a hard way that there is a difference between
f90 and F90 file extension.

The fallout was fixed by reverting the rename.

Uros.

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

* Re: [PATCH, fortran testsuite]: A couple of fixes in gfortran.dg/ieee directory
  2014-07-15 18:54 ` Uros Bizjak
@ 2014-07-15 20:03   ` FX
  0 siblings, 0 replies; 3+ messages in thread
From: FX @ 2014-07-15 20:03 UTC (permalink / raw)
  To: Uros Bizjak; +Cc: gcc-patches, Fortran List

> And yes, I learned in a hard way that there is a difference between
> f90 and F90 file extension.

Yup, pre-processing. Sorry I wasn’t fast enough to reply to your earlier email, and thanks for doing this.

FX

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

end of thread, other threads:[~2014-07-15 19:27 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-07-15 16:18 [PATCH, fortran testsuite]: A couple of fixes in gfortran.dg/ieee directory Uros Bizjak
2014-07-15 18:54 ` Uros Bizjak
2014-07-15 20:03   ` FX

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).