[cig-commits] [commit] devel, master: more complete gfortran options (be02546)

cig_noreply at geodynamics.org cig_noreply at geodynamics.org
Thu Nov 6 08:17:40 PST 2014


Repository : https://github.com/geodynamics/specfem3d_globe

On branches: devel,master
Link       : https://github.com/geodynamics/specfem3d_globe/compare/bc58e579b3b0838a0968725a076f5904845437ca...be63f20cbb6f462104e949894dbe205d2398cd7f

>---------------------------------------------------------------

commit be02546b28279eda96388af46c27409acc6123b9
Author: Dimitri Komatitsch <komatitsch at lma.cnrs-mrs.fr>
Date:   Wed May 21 18:34:48 2014 +0200

    more complete gfortran options


>---------------------------------------------------------------

be02546b28279eda96388af46c27409acc6123b9
 flags.guess | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/flags.guess b/flags.guess
index c0afe83..68f9f53 100644
--- a/flags.guess
+++ b/flags.guess
@@ -93,8 +93,9 @@ case $my_FC in
         #
         # GNU gfortran
         #
-        DEF_FFLAGS="-std=gnu -fimplicit-none -frange-check -O2 -fmax-errors=10 -pedantic -pedantic-errors -Waliasing -Wampersand -Wcharacter-truncation -Wline-truncation -Wsurprising -Wno-tabs -Wunderflow " # -mcmodel=medium
-        # useful for debugging: add -ffpe-trap=overflow,zero -fbacktrace -fbounds-check
+        DEF_FFLAGS="-std=gnu -fimplicit-none -frange-check -O2 -fmax-errors=10 -pedantic -pedantic-errors -Waliasing -Wampersand -Wcharacter-truncation -Wline-truncation -Wsurprising -Wno-tabs -Wunderflow -ffpe-trap=invalid,zero,overflow" # -mcmodel=medium
+        # useful for debugging: add   -ggdb -fbacktrace -fbounds-check
+        # useful to track loss of accuracy because of automatic double to single precision conversion:  -Wconversion  (this may generate many warnings...)
         ;;
     g95|*/g95)
         #



More information about the CIG-COMMITS mailing list