[mpich-commits] [mpich] MPICH primary repository branch, master, updated. v3.1rc2-9-g9fd89d3

mysql vizuser noreply at mpich.org
Thu Nov 21 12:03:57 CST 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  9fd89d376481a344dba1203d70fa432605b309ed (commit)
      from  3396c1bf5d76beb428492e8c8b5f2595b6c507f4 (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/9fd89d376481a344dba1203d70fa432605b309ed

commit 9fd89d376481a344dba1203d70fa432605b309ed
Author: Ken Raffenetti <raffenet at mcs.anl.gov>
Date:   Wed Nov 20 22:06:58 2013 -0600

    correct alias option test for weak attributes
    
    Fixes #1980
    
    Signed-off-by: Antonio J. Pena <apenya at mcs.anl.gov>

diff --git a/confdb/aclocal_cc.m4 b/confdb/aclocal_cc.m4
index 1e5e87d..5a9b270 100644
--- a/confdb/aclocal_cc.m4
+++ b/confdb/aclocal_cc.m4
@@ -361,7 +361,8 @@ pac_cv_attr_weak_import=yes,pac_cv_attr_weak_import=no)])
 # Check if the alias option for weak attributes is allowed
 AC_CACHE_CHECK([whether __attribute__((weak,alias(...))) allowed],
 pac_cv_attr_weak_alias,[
-AC_TRY_COMPILE([int foo(int) __attribute__((weak,alias("__foo")));],[int a;],
+AC_TRY_LINK([void __foo(int c) {}
+void foo(int c) __attribute__((weak,alias("__foo")));],[foo(0);],
 pac_cv_attr_weak_alias=yes,pac_cv_attr_weak_alias=no)])
 if test "$pac_cv_attr_weak_alias" = "yes" ; then
     AC_DEFINE(HAVE_WEAK_ATTRIBUTE,1,[Attribute style weak pragma])

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

Summary of changes:
 confdb/aclocal_cc.m4 |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
MPICH primary repository


More information about the commits mailing list