Skip to content

Commit 87e2781

Browse files
committed
Last required fixes after merging main into differentiate-flangs branch
1 parent 93780ca commit 87e2781

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

src/fpm_compiler.F90

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -275,13 +275,13 @@ module fpm_compiler
275275
flag_cray_free_form = " -ffree"
276276

277277
character(*), parameter :: &
278-
flag_flang_openmp = " -fopenmp"
279-
flag_flang_new_debug = " -g", &
280-
flag_flang_new_opt = " -O3", &
281-
flag_flang_new_pic = " -fPIC", &
282-
flag_flang_new_free_form = " -ffree-form", &
283-
flag_flang_new_fixed_form = " -ffixed-form", &
284-
flag_flang_new_no_implicit_typing = " -fimplicit-none"
278+
flag_flang_openmp = " -fopenmp", &
279+
flag_flang_debug = " -g", &
280+
flag_flang_opt = " -O3", &
281+
flag_flang_pic = " -fPIC", &
282+
flag_flang_free_form = " -ffree-form", &
283+
flag_flang_fixed_form = " -ffixed-form", &
284+
flag_flang_no_implicit_typing = " -fimplicit-none"
285285

286286
contains
287287

@@ -422,8 +422,8 @@ subroutine get_release_compile_flags(id, flags)
422422

423423
case(id_flang)
424424
flags = &
425-
flag_flang_new_opt//&
426-
flag_flang_new_pic
425+
flag_flang_opt//&
426+
flag_flang_pic
427427

428428
end select
429429
end subroutine get_release_compile_flags
@@ -523,8 +523,8 @@ subroutine get_debug_compile_flags(id, flags)
523523

524524
case(id_flang)
525525
flags = &
526-
flag_flang_new_debug//&
527-
flag_flang_new_pic
526+
flag_flang_debug//&
527+
flag_flang_pic
528528

529529
end select
530530
end subroutine get_debug_compile_flags
@@ -727,7 +727,7 @@ function get_feature_flag(self, feature) result(flags)
727727
flags = flag_cray_no_implicit_typing
728728

729729
case(id_flang)
730-
flags = flag_flang_new_no_implicit_typing
730+
flags = flag_flang_no_implicit_typing
731731

732732
end select
733733

@@ -778,7 +778,7 @@ function get_feature_flag(self, feature) result(flags)
778778
flags = flag_cray_free_form
779779

780780
case(id_flang)
781-
flags = flag_flang_new_free_form
781+
flags = flag_flang_free_form
782782

783783
end select
784784

@@ -807,7 +807,7 @@ function get_feature_flag(self, feature) result(flags)
807807
flags = flag_lfortran_fixed_form
808808

809809
case(id_flang)
810-
flags = flag_flang_new_fixed_form
810+
flags = flag_flang_fixed_form
811811

812812
end select
813813

0 commit comments

Comments
 (0)