Skip to content

Commit

Permalink
Use assumed-size array for buffer
Browse files Browse the repository at this point in the history
  • Loading branch information
eschnett committed Jul 11, 2022
1 parent 52b86a5 commit 7e7df65
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/mpi_f08.f90.in
Original file line number Diff line number Diff line change
Expand Up @@ -375,7 +375,7 @@ contains
use mpi, only: mpi_send
!dir$ ignore_tkr(tkr) buf
@GCC_ATTRIBUTES_NO_ARG_CHECK@ !gcc$ attributes no_arg_check :: buf
integer, intent(in) :: buf
integer, intent(in) :: buf(*)
integer, intent(in) :: count
type(mpi_datatype), intent(in) :: datatype
integer, intent(in) :: dest
Expand All @@ -394,7 +394,7 @@ contains
use mpi, only: mpi_source, mpi_tag, mpi_error, mpi_recv
!dir$ ignore_tkr(tkr) buf
@GCC_ATTRIBUTES_NO_ARG_CHECK@ !gcc$ attributes no_arg_check :: buf
integer :: buf
integer :: buf(*)
integer, intent(in) :: count
type(mpi_datatype), intent(in) :: datatype
integer, intent(in) :: source
Expand Down

0 comments on commit 7e7df65

Please sign in to comment.