Skip to content

Commit 2eee3be

Browse files
author
Damian Rouson
committed
Require descriptor for scalars with GCC 8
1 parent c605be9 commit 2eee3be

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/mpi/mpi_caf.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1151,7 +1151,10 @@ PREFIX (register) (size_t size, caf_register_t type, caf_token_t *token,
11511151
MPI_Alloc_mem(actual_size, MPI_INFO_NULL, &mem);
11521152
MPI_Win_create(mem, actual_size, 1, MPI_INFO_NULL, CAF_COMM_WORLD, p);
11531153
#endif // MPI_VERSION
1154+
1155+
#ifndef GCC_GE_8
11541156
if (GFC_DESCRIPTOR_RANK (desc) != 0)
1157+
#endif
11551158
mpi_token->desc = desc;
11561159

11571160
if(l_var)

0 commit comments

Comments
 (0)