[mpich-commits] [mpich] MPICH primary repository branch, master, updated. v3.2-452-gabcca8b

Service Account noreply at mpich.org
Wed Sep 21 11:36:57 CDT 2016


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "MPICH primary repository".

The branch, master has been updated
       via  abcca8b44575e0148cd23217f9d1cfe7fc6d4a71 (commit)
      from  b089caa16337ec403d23f3f00b8bc10321b388d2 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://git.mpich.org/mpich.git/commitdiff/abcca8b44575e0148cd23217f9d1cfe7fc6d4a71

commit abcca8b44575e0148cd23217f9d1cfe7fc6d4a71
Author: Ken Raffenetti <raffenet at mcs.anl.gov>
Date:   Mon Sep 19 18:11:42 2016 -0500

    mpir_mem.h: Remove NULL address checks
    
    Strict builds will see a lot of warnings when MPIR_Memcpy is used and
    one or more of the addresses provided are on the stack. Additionally,
    -Wnonnull should already catch these types of errors.
    
    Signed-off-by: Pavan Balaji <balaji at anl.gov>

diff --git a/src/include/mpir_mem.h b/src/include/mpir_mem.h
index 44c4d6a..8fb8368 100644
--- a/src/include/mpir_mem.h
+++ b/src/include/mpir_mem.h
@@ -243,8 +243,6 @@ if (pointer_) { \
 #define CHECK_MEMCPY(dst_,src_,len_)                                                                   \
     do {                                                                                                        \
         if (len_) {                                                                                             \
-            MPIR_Assert((dst_) != NULL);                                                                        \
-            MPIR_Assert((src_) != NULL);                                                                        \
             MPL_VG_CHECK_MEM_IS_ADDRESSABLE((dst_),(len_));                                                     \
             MPL_VG_CHECK_MEM_IS_ADDRESSABLE((src_),(len_));                                                     \
             if (MPIR_MEM_RANGES_OVERLAP((dst_),(len_),(src_),(len_))) {                                          \

-----------------------------------------------------------------------

Summary of changes:
 src/include/mpir_mem.h |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
MPICH primary repository


More information about the commits mailing list