[mpich-commits] [mpich] MPICH primary repository branch, master, updated. v3.0.4-117-gfc23bca

mysql vizuser noreply at mpich.org
Fri May 3 08:22:42 CDT 2013


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  fc23bcafaf3d7bace1aa4360d3c9ce3e7a06a609 (commit)
      from  976d7b9b5519c08462cfa6a7c2a7bb38303afe5f (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/fc23bcafaf3d7bace1aa4360d3c9ce3e7a06a609

commit fc23bcafaf3d7bace1aa4360d3c9ce3e7a06a609
Author: William Gropp <wgropp at illinois.edu>
Date:   Fri May 3 09:21:47 2013 -0400

    Suppress warnings about alignment (code already ensures correctness)

diff --git a/src/binding/f77/buildiface b/src/binding/f77/buildiface
index 5f30c6d..dd617e2 100755
--- a/src/binding/f77/buildiface
+++ b/src/binding/f77/buildiface
@@ -2563,7 +2563,7 @@ sub status_out_ftoc {
         if ((((MPI_Aint)v$count) & MPIR_COUNT_ALIGNMENT) == 0) 
             l$count = (MPI_Status*)(void *)v$count;
 	else 
-            l$count->MPI_ERROR = ((MPI_Status*)v$count)->MPI_ERROR;
+            l$count->MPI_ERROR = ((MPI_Status*)(void*)v$count)->MPI_ERROR;
     }\n";
     }
 }
@@ -2696,7 +2696,7 @@ sub status_array_out_ftoc {
         int li;
         l$count = (MPI_Status*)$malloc($Array_size * sizeof(MPI_Status)); 
         for (li=0; li<$Array_size; li++) 
-            l$count\[li].MPI_ERROR = ((MPI_Status*)v$count)[li].MPI_ERROR;
+            l$count\[li].MPI_ERROR = ((MPI_Status*)(void*)v$count)[li].MPI_ERROR;
     }\n";
     }
     elsif ($fixStatusAlignment) {
@@ -2709,7 +2709,7 @@ sub status_array_out_ftoc {
             lalloc$count = 1;
             l$count = (MPI_Status*)$malloc($Array_size * sizeof(MPI_Status));
             for (li=0; li<$Array_size; li++) 
-                l$count\[li].MPI_ERROR = ((MPI_Status*)v$count)[li].MPI_ERROR;
+                l$count\[li].MPI_ERROR = ((MPI_Status*)(void*)v$count)[li].MPI_ERROR;
         }
     }\n";
     }

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

Summary of changes:
 src/binding/f77/buildiface |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)


hooks/post-receive
-- 
MPICH primary repository


More information about the commits mailing list