Skip to content

Commit 5ab3daf

Browse files
authored
Merge pull request #315 from LKedward/remove-default-fast-math
Remove: -ffast-math in gfortran default release flags
2 parents 483f23b + 2f5a8ed commit 5ab3daf

File tree

2 files changed

+0
-5
lines changed

2 files changed

+0
-5
lines changed

bootstrap/src/Fpm.hs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -681,7 +681,6 @@ defineCompilerSettings specifiedFlags compiler release
681681
, "-fmax-errors=1"
682682
, "-O3"
683683
, "-march=native"
684-
, "-ffast-math"
685684
, "-funroll-loops"
686685
, "-fcoarray=single"
687686
]
@@ -714,7 +713,6 @@ defineCompilerSettings specifiedFlags compiler release
714713
, "-fmax-errors=1"
715714
, "-O3"
716715
, "-march=native"
717-
, "-ffast-math"
718716
, "-funroll-loops"
719717
]
720718
else
@@ -742,7 +740,6 @@ defineCompilerSettings specifiedFlags compiler release
742740
, "-Wimplicit-interface"
743741
, "-fPIC"
744742
, "-fmax-errors=1"
745-
, "-ffast-math"
746743
, "-funroll-loops"
747744
]
748745
else

fpm/src/fpm_compiler.f90

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,6 @@ subroutine add_compile_flag_defaults(build_name,compiler,model)
5454
& -Wimplicit-interface&
5555
& -fPIC&
5656
& -fmax-errors=1&
57-
& -ffast-math&
5857
& -funroll-loops&
5958
&'
6059
mandatory=' -J '//modpath//' -I '//modpath
@@ -76,7 +75,6 @@ subroutine add_compile_flag_defaults(build_name,compiler,model)
7675
& -Wimplicit-interface&
7776
& -fPIC&
7877
& -fmax-errors=1&
79-
& -ffast-math&
8078
& -funroll-loops&
8179
& -fcoarray=single&
8280
&'

0 commit comments

Comments
 (0)