@@ -482,33 +482,33 @@ logical function srcfile_is_same(this,that)
482
482
select type (other= >that)
483
483
type is (srcfile_t)
484
484
if (allocated (this% file_name).neqv. allocated (other% file_name)) return
485
- if (allocated (this% file_name).and. allocated (other % file_name) ) then
485
+ if (allocated (this% file_name)) then
486
486
if (.not. (this% file_name== other% file_name)) return
487
487
end if
488
488
if (allocated (this% exe_name).neqv. allocated (other% exe_name)) return
489
- if (allocated (this% exe_name).and. allocated (other % exe_name) ) then
489
+ if (allocated (this% exe_name)) then
490
490
if (.not. (this% exe_name== other% exe_name)) return
491
491
end if
492
492
if (.not. (this% unit_scope== other% unit_scope)) return
493
493
if (allocated (this% modules_provided).neqv. allocated (other% modules_provided)) return
494
- if (allocated (this% modules_provided).and. allocated (other % modules_provided) ) then
494
+ if (allocated (this% modules_provided)) then
495
495
if (.not. (this% modules_provided== other% modules_provided)) return
496
496
end if
497
497
if (.not. (this% unit_type== other% unit_type)) return
498
498
if (allocated (this% parent_modules).neqv. allocated (other% parent_modules)) return
499
- if (allocated (this% parent_modules).and. allocated (other % parent_modules) ) then
499
+ if (allocated (this% parent_modules)) then
500
500
if (.not. (this% parent_modules== other% parent_modules)) return
501
501
end if
502
502
if (allocated (this% modules_used).neqv. allocated (other% modules_used)) return
503
- if (allocated (this% modules_used).and. allocated (other % modules_used) ) then
503
+ if (allocated (this% modules_used)) then
504
504
if (.not. (this% modules_used== other% modules_used)) return
505
505
end if
506
506
if (allocated (this% include_dependencies).neqv. allocated (other% include_dependencies)) return
507
- if (allocated (this% include_dependencies).and. allocated (other % include_dependencies) ) then
507
+ if (allocated (this% include_dependencies)) then
508
508
if (.not. (this% include_dependencies== other% include_dependencies)) return
509
509
end if
510
510
if (allocated (this% link_libraries).neqv. allocated (other% link_libraries)) return
511
- if (allocated (this% link_libraries).and. allocated (other % link_libraries) ) then
511
+ if (allocated (this% link_libraries)) then
512
512
if (.not. (this% link_libraries== other% link_libraries)) return
513
513
end if
514
514
if (.not. (this% digest== other% digest)) return
@@ -620,7 +620,7 @@ logical function fft_is_same(this,that)
620
620
if (.not. (this% implicit_typing.eqv. other% implicit_typing)) return
621
621
if (.not. (this% implicit_external.eqv. other% implicit_external)) return
622
622
if (allocated (this% source_form).neqv. allocated (other% source_form)) return
623
- if (allocated (this% source_form).and. allocated (other % source_form) ) then
623
+ if (allocated (this% source_form)) then
624
624
if (.not. (this% source_form== other% source_form)) return
625
625
end if
626
626
@@ -880,7 +880,7 @@ logical function model_is_same(this,that)
880
880
type is (fpm_model_t)
881
881
882
882
if ((allocated (this% package_name).neqv. allocated (other% package_name))) return
883
- if (allocated (this% package_name).and. allocated (other % package_name) ) then
883
+ if (allocated (this% package_name)) then
884
884
if (.not. (this% package_name== other% package_name)) return
885
885
end if
886
886
if (.not. (allocated (this% packages).eqv. allocated (other% packages))) return
@@ -894,35 +894,35 @@ logical function model_is_same(this,that)
894
894
if (.not. (this% compiler== other% compiler)) return
895
895
if (.not. (this% archiver== other% archiver)) return
896
896
if (allocated (this% fortran_compile_flags).neqv. allocated (other% fortran_compile_flags)) return
897
- if (allocated (this% fortran_compile_flags).and. allocated (other % fortran_compile_flags) ) then
897
+ if (allocated (this% fortran_compile_flags)) then
898
898
if (.not. (this% fortran_compile_flags== other% fortran_compile_flags)) return
899
899
end if
900
900
if (allocated (this% c_compile_flags).neqv. allocated (other% c_compile_flags)) return
901
- if (allocated (this% c_compile_flags).and. allocated (other % c_compile_flags) ) then
901
+ if (allocated (this% c_compile_flags)) then
902
902
if (.not. (this% c_compile_flags== other% c_compile_flags)) return
903
903
end if
904
904
if (allocated (this% cxx_compile_flags).neqv. allocated (other% cxx_compile_flags)) return
905
- if (allocated (this% cxx_compile_flags).and. allocated (other % cxx_compile_flags) ) then
905
+ if (allocated (this% cxx_compile_flags)) then
906
906
if (.not. (this% cxx_compile_flags== other% cxx_compile_flags)) return
907
907
end if
908
908
if (allocated (this% link_flags).neqv. allocated (other% link_flags)) return
909
- if (allocated (this% link_flags).and. allocated (other % link_flags) ) then
909
+ if (allocated (this% link_flags)) then
910
910
if (.not. (this% link_flags== other% link_flags)) return
911
911
end if
912
912
if (allocated (this% build_prefix).neqv. allocated (other% build_prefix)) return
913
- if (allocated (this% build_prefix).and. allocated (other % build_prefix) ) then
913
+ if (allocated (this% build_prefix)) then
914
914
if (.not. (this% build_prefix== other% build_prefix)) return
915
915
end if
916
916
if (allocated (this% include_dirs).neqv. allocated (other% include_dirs)) return
917
- if (allocated (this% include_dirs).and. allocated (other % include_dirs) ) then
917
+ if (allocated (this% include_dirs)) then
918
918
if (.not. (this% include_dirs== other% include_dirs)) return
919
919
end if
920
920
if (allocated (this% link_libraries).neqv. allocated (other% link_libraries)) return
921
- if (allocated (this% link_libraries).and. allocated (other % link_libraries) ) then
921
+ if (allocated (this% link_libraries)) then
922
922
if (.not. (this% link_libraries== other% link_libraries)) return
923
923
end if
924
924
if (allocated (this% external_modules).neqv. allocated (other% external_modules)) return
925
- if (allocated (this% external_modules).and. allocated (other % external_modules) ) then
925
+ if (allocated (this% external_modules)) then
926
926
if (.not. (this% external_modules== other% external_modules)) return
927
927
end if
928
928
if (.not. (this% deps== other% deps)) return
0 commit comments