Skip to content

Remove: -ffast-math in gfortran default release flags #315

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Dec 20, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions bootstrap/src/Fpm.hs
Original file line number Diff line number Diff line change
Expand Up @@ -681,7 +681,6 @@ defineCompilerSettings specifiedFlags compiler release
, "-fmax-errors=1"
, "-O3"
, "-march=native"
, "-ffast-math"
, "-funroll-loops"
, "-fcoarray=single"
]
Expand Down Expand Up @@ -714,7 +713,6 @@ defineCompilerSettings specifiedFlags compiler release
, "-fmax-errors=1"
, "-O3"
, "-march=native"
, "-ffast-math"
, "-funroll-loops"
]
else
Expand Down Expand Up @@ -742,7 +740,6 @@ defineCompilerSettings specifiedFlags compiler release
, "-Wimplicit-interface"
, "-fPIC"
, "-fmax-errors=1"
, "-ffast-math"
, "-funroll-loops"
]
else
Expand Down
2 changes: 0 additions & 2 deletions fpm/src/fpm_compiler.f90
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ subroutine add_compile_flag_defaults(build_name,compiler,model)
& -Wimplicit-interface&
& -fPIC&
& -fmax-errors=1&
& -ffast-math&
& -funroll-loops&
&'
mandatory=' -J '//modpath//' -I '//modpath
Expand All @@ -76,7 +75,6 @@ subroutine add_compile_flag_defaults(build_name,compiler,model)
& -Wimplicit-interface&
& -fPIC&
& -fmax-errors=1&
& -ffast-math&
& -funroll-loops&
& -fcoarray=single&
&'
Expand Down