aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Ehlert <28669218+awvwgk@users.noreply.github.com>2021-03-18 09:05:00 +0100
committerSebastian Ehlert <28669218+awvwgk@users.noreply.github.com>2021-03-18 09:23:22 +0100
commita50a1b68f5466ba698ce2d7b694f2aa091aeddff (patch)
tree9468ce8f2af007729c93c735ed5ced2b32714b39
parent0c8e13707c37704a7aec1ebc61ac39fc94d14a46 (diff)
downloadfpm-a50a1b68f5466ba698ce2d7b694f2aa091aeddff.tar.gz
fpm-a50a1b68f5466ba698ce2d7b694f2aa091aeddff.zip
Replace deprecated debug arguments
-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&
&'