aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--fpm/src/fpm_compiler.f9012
1 files changed, 6 insertions, 6 deletions
diff --git a/fpm/src/fpm_compiler.f90 b/fpm/src/fpm_compiler.f90
index 955f00a..5aee143 100644
--- a/fpm/src/fpm_compiler.f90
+++ b/fpm/src/fpm_compiler.f90
@@ -142,8 +142,8 @@ subroutine get_debug_compile_flags(id, flags)
& -Wimplicit-interface&
& -fPIC -fmax-errors=1&
& -g&
- & -fbounds-check&
- & -fcheck-array-temporaries&
+ & -fcheck=bounds&
+ & -fcheck=array-temps&
& -fbacktrace&
&'
@@ -154,8 +154,8 @@ subroutine get_debug_compile_flags(id, flags)
& -Wimplicit-interface&
& -fPIC -fmax-errors=1&
& -g&
- & -fbounds-check&
- & -fcheck-array-temporaries&
+ & -fcheck=bounds&
+ & -fcheck=array-temps&
& -fbacktrace&
& -fcoarray=single&
&'
@@ -167,8 +167,8 @@ subroutine get_debug_compile_flags(id, flags)
& -Wimplicit-interface&
& -fPIC -fmax-errors=1&
& -g&
- & -fbounds-check&
- & -fcheck-array-temporaries&
+ & -fcheck=bounds&
+ & -fcheck=array-temps&
& -Wno-maybe-uninitialized -Wno-uninitialized&
& -fbacktrace&
&'