From 066d5fb9d7d1176e18254fa948de220d66edbd6e Mon Sep 17 00:00:00 2001 From: Shiqing Fan Date: Wed, 3 Nov 2010 09:36:24 +0000 Subject: [PATCH] The standard does not imply that the contents of the buffer should be defined/addressable at this point. Remove the buffer checks in these functions. This commit was SVN r23988. --- ompi/mpi/c/bsend_init.c | 1 - ompi/mpi/c/recv_init.c | 1 - ompi/mpi/c/rsend_init.c | 1 - ompi/mpi/c/send_init.c | 1 - ompi/mpi/c/ssend_init.c | 1 - 5 files changed, 5 deletions(-) diff --git a/ompi/mpi/c/bsend_init.c b/ompi/mpi/c/bsend_init.c index 7e6aadf7e4..1feab5f6ed 100644 --- a/ompi/mpi/c/bsend_init.c +++ b/ompi/mpi/c/bsend_init.c @@ -45,7 +45,6 @@ int MPI_Bsend_init(void *buf, int count, MPI_Datatype type, MEMCHECKER( memchecker_datatype(type); - memchecker_call(&opal_memchecker_base_isdefined, buf, count, type); memchecker_comm(comm); ); diff --git a/ompi/mpi/c/recv_init.c b/ompi/mpi/c/recv_init.c index 43c7e0040f..6b39624694 100644 --- a/ompi/mpi/c/recv_init.c +++ b/ompi/mpi/c/recv_init.c @@ -44,7 +44,6 @@ int MPI_Recv_init(void *buf, int count, MPI_Datatype type, int source, MEMCHECKER( memchecker_datatype(type); - memchecker_call(&opal_memchecker_base_isaddressable, buf, count, type); memchecker_comm(comm); ); diff --git a/ompi/mpi/c/rsend_init.c b/ompi/mpi/c/rsend_init.c index f048b84616..b8f8ca1086 100644 --- a/ompi/mpi/c/rsend_init.c +++ b/ompi/mpi/c/rsend_init.c @@ -46,7 +46,6 @@ int MPI_Rsend_init(void *buf, int count, MPI_Datatype type, MEMCHECKER( memchecker_datatype(type); - memchecker_call(&opal_memchecker_base_isdefined, buf, count, type); memchecker_comm(comm); ); diff --git a/ompi/mpi/c/send_init.c b/ompi/mpi/c/send_init.c index 6dedfdfadb..bf661bcbb2 100644 --- a/ompi/mpi/c/send_init.c +++ b/ompi/mpi/c/send_init.c @@ -46,7 +46,6 @@ int MPI_Send_init(void *buf, int count, MPI_Datatype type, MEMCHECKER( memchecker_datatype(type); - memchecker_call(&opal_memchecker_base_isdefined, buf, count, type); memchecker_comm(comm); ); diff --git a/ompi/mpi/c/ssend_init.c b/ompi/mpi/c/ssend_init.c index 11616c136d..72ca4cc19d 100644 --- a/ompi/mpi/c/ssend_init.c +++ b/ompi/mpi/c/ssend_init.c @@ -46,7 +46,6 @@ int MPI_Ssend_init(void *buf, int count, MPI_Datatype type, MEMCHECKER( memchecker_datatype(type); - memchecker_call(&opal_memchecker_base_isdefined, buf, count, type); memchecker_comm(comm); );