summaryrefslogtreecommitdiffstats
path: root/testpar/t_prop.c
diff options
context:
space:
mode:
authorDana Robinson <43805+derobins@users.noreply.github.com>2022-07-09 10:05:53 (GMT)
committerGitHub <noreply@github.com>2022-07-09 10:05:53 (GMT)
commit1227bc041118e1c9fb3fdd48c083186f5deb4676 (patch)
tree0cddd12b3652faaf7adf242b2ed936d127fae454 /testpar/t_prop.c
parent57cc499009f49b40505b8b3c1ca3e405c6447a16 (diff)
downloadhdf5-1227bc041118e1c9fb3fdd48c083186f5deb4676.zip
hdf5-1227bc041118e1c9fb3fdd48c083186f5deb4676.tar.gz
hdf5-1227bc041118e1c9fb3fdd48c083186f5deb4676.tar.bz2
Sync with develop (#1863)feature/onion_vfd
Diffstat (limited to 'testpar/t_prop.c')
-rw-r--r--testpar/t_prop.c12
1 files changed, 10 insertions, 2 deletions
diff --git a/testpar/t_prop.c b/testpar/t_prop.c
index 930b895..c08a022 100644
--- a/testpar/t_prop.c
+++ b/testpar/t_prop.c
@@ -69,14 +69,22 @@ test_encode_decode(hid_t orig_pl, int mpi_rank, int recv_proc)
HDfree(rbuf);
} /* end if */
- if (0 == mpi_rank)
+ if (0 == mpi_rank) {
+ /* gcc 11 complains about passing MPI_STATUSES_IGNORE as an MPI_Status
+ * array. See the discussion here:
+ *
+ * https://github.com/pmodels/mpich/issues/5687
+ */
+ H5_GCC_DIAG_OFF("stringop-overflow")
MPI_Waitall(2, req, MPI_STATUSES_IGNORE);
+ H5_GCC_DIAG_ON("stringop-overflow")
+ }
if (NULL != sbuf)
HDfree(sbuf);
MPI_Barrier(MPI_COMM_WORLD);
- return (0);
+ return 0;
}
void