[cig-commits] r12453 - seismo/3D/SPECFEM3D_GLOBE/trunk

dkomati1 at geodynamics.org dkomati1 at geodynamics.org
Mon Jul 21 06:36:18 PDT 2008


Author: dkomati1
Date: 2008-07-21 06:36:18 -0700 (Mon, 21 Jul 2008)
New Revision: 12453

Modified:
   seismo/3D/SPECFEM3D_GLOBE/trunk/flags.guess
Log:
updated compiler options for GNU gfortran


Modified: seismo/3D/SPECFEM3D_GLOBE/trunk/flags.guess
===================================================================
--- seismo/3D/SPECFEM3D_GLOBE/trunk/flags.guess	2008-07-21 13:30:59 UTC (rev 12452)
+++ seismo/3D/SPECFEM3D_GLOBE/trunk/flags.guess	2008-07-21 13:36:18 UTC (rev 12453)
@@ -43,7 +43,9 @@
         # GNU gfortran
         #
         if test x"$FLAGS_NO_CHECK" = x; then
-            FLAGS_NO_CHECK="-std=gnu -fimplicit-none -frange-check -O3 -Wunused-labels -Waliasing -Wampersand -Wsurprising -Wline-truncation -Wunderflow -fno-trapping-math" # -mcmodel=medium
+            FLAGS_NO_CHECK="-std=gnu -fimplicit-none -frange-check -O2 -fmax-errors=10 -pedantic -pedantic-errors -Waliasing -Wampersand -Wcharacter-truncation -Wline-truncation -Wsurprising -Wno-tabs -Wunderflow -fno-trapping-math" # -mcmodel=medium
+# older gfortran syntax
+#           FLAGS_NO_CHECK="-std=gnu -fimplicit-none -frange-check -O3 -Wunused-labels -Waliasing -Wampersand -Wsurprising -Wline-truncation -Wunderflow -fno-trapping-math" # -mcmodel=medium
         fi
         if test x"$FLAGS_CHECK" = x; then
             FLAGS_CHECK="\$(FLAGS_NO_CHECK)" # -fbounds-check



More information about the cig-commits mailing list