diff mbox

[fortran,testsuite] : A couple of fixes in gfortran.dg/ieee directory

Message ID CAFULd4YBnU_Z+=_y8YCoErbZHubyYM3M==37q5-khQUkauCL4A@mail.gmail.com
State New
Headers show

Commit Message

Uros Bizjak July 15, 2014, 4:15 p.m. UTC
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.

Comments

Uros Bizjak July 15, 2014, 6:48 p.m. UTC | #1
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.
FX Coudert July 15, 2014, 7:27 p.m. UTC | #2
> 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
diff mbox

Patch

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.