[mpich-commits] [mpich] MPICH primary repository branch, master, updated. v3.1.2-136-g81bd43e
Service Account
noreply at mpich.org
Tue Sep 2 10:18:17 CDT 2014
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 81bd43e1f18da6031891ad87d9fdec075d3e657c (commit)
from 55e8311365392a259f407bbe5344e546cf8ead17 (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/81bd43e1f18da6031891ad87d9fdec075d3e657c
commit 81bd43e1f18da6031891ad87d9fdec075d3e657c
Author: Rob Latham <robl at mcs.anl.gov>
Date: Thu Aug 28 14:36:47 2014 -0500
Ask the compiler to warn if stack oddly large
A flag like this would have warned about #2160 at compile time.
See #2060
Signed-off-by: Antonio J. Pena <apenya at mcs.anl.gov>
diff --git a/confdb/aclocal_cc.m4 b/confdb/aclocal_cc.m4
index e2dd692..92e7ee1 100644
--- a/confdb/aclocal_cc.m4
+++ b/confdb/aclocal_cc.m4
@@ -461,6 +461,13 @@ export enable_strict_done
if test "$enable_strict_done" != "yes" ; then
# Some comments on strict warning options.
+ # These were added to improve portability
+ # -Wstack-usage=262144 -- 32 bit FreeBSD did not like the mprobe test
+ # allocating a big variable on the stack. (See tt#2160). The "right"
+ # value requires further investigation; 1 MiB would have at least
+ # caught #2160 at compile-time, and only two other tests show a
+ # warning at 256k.
+ #
# These were added to reduce warnings:
# -Wno-missing-field-initializers -- We want to allow a struct to be
# initialized to zero using "struct x y = {0};" and not require
@@ -551,6 +558,7 @@ if test "$enable_strict_done" != "yes" ; then
-Wno-format-zero-length
-Wtype-limits
-Werror-implicit-function-declaration
+ -Wstack-usage=262144
"
enable_c89=no
-----------------------------------------------------------------------
Summary of changes:
confdb/aclocal_cc.m4 | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
hooks/post-receive
--
MPICH primary repository
More information about the commits
mailing list