Skip to content

Commit d39db6f

Browse files
authored
Merge branch 'fortran-lang:main' into release_0_12_0
2 parents a59fd8c + 87ffc0a commit d39db6f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/fpm_compile_commands.F90

+2
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,9 @@ subroutine cct_register(self, command, target_os, error)
287287
file = string_t(source_file))
288288

289289
! Add it to the structure
290+
!$omp critical (command_update)
290291
call cct_register_object(self, cmd, error)
292+
!$omp end critical (command_update)
291293

292294
end subroutine cct_register
293295

0 commit comments

Comments
 (0)