[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[SCM] GNU Autoconf source repository branch, master, updated. v2.68-72-g
From: |
Paul Eggert |
Subject: |
[SCM] GNU Autoconf source repository branch, master, updated. v2.68-72-gb174741 |
Date: |
Sat, 18 Jun 2011 21:40:34 +0000 |
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 "GNU Autoconf source repository".
http://git.sv.gnu.org/gitweb/?p=autoconf.git;a=commitdiff;h=b1747413a80add0271d6909aecfdc2b638456257
The branch, master has been updated
via b1747413a80add0271d6909aecfdc2b638456257 (commit)
from 9ddea209e5240e7d64d54c888df81b29ccebdd3b (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 -----------------------------------------------------------------
commit b1747413a80add0271d6909aecfdc2b638456257
Author: Paul Eggert <address@hidden>
Date: Sat Jun 18 14:39:57 2011 -0700
* lib/autoconf/functions.m4 (_AC_LIBOBJ_ALLOCA): Try to outsmart GCC.
Problem with stack-detection code reported by Andy Wingo in
<http://lists.gnu.org/archive/html/bug-autoconf/2011-06/msg00032.html>.
This fix is imported from gnulib's c-stack module.
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 5 +++++
lib/autoconf/functions.m4 | 18 ++++++------------
2 files changed, 11 insertions(+), 12 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index aaa1640..e0e52ce 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
2011-06-18 Paul Eggert <address@hidden>
+ * lib/autoconf/functions.m4 (_AC_LIBOBJ_ALLOCA): Try to outsmart GCC.
+ Problem with stack-detection code reported by Andy Wingo in
+ <http://lists.gnu.org/archive/html/bug-autoconf/2011-06/msg00032.html>.
+ This fix is imported from gnulib's c-stack module.
+
* doc/autoconf.texi (File Descriptors): Fix texinfo typo.
2011-06-14 Eric Blake <address@hidden>
diff --git a/lib/autoconf/functions.m4 b/lib/autoconf/functions.m4
index 5541968..3156887 100644
--- a/lib/autoconf/functions.m4
+++ b/lib/autoconf/functions.m4
@@ -325,23 +325,17 @@ AC_CACHE_CHECK([stack direction for C alloca],
[AC_RUN_IFELSE([AC_LANG_SOURCE(
[AC_INCLUDES_DEFAULT
int
-find_stack_direction ()
+find_stack_direction (char *addr)
{
- static char *addr = 0;
- auto char dummy;
- if (addr == 0)
- {
- addr = &dummy;
- return find_stack_direction ();
- }
- else
- return (&dummy > addr) ? 1 : -1;
+ char dummy;
+ return (! addr ? find_stack_direction (&dummy)
+ : addr < &dummy ? 1 : -1);
}
int
-main ()
+main (void)
{
- return find_stack_direction () < 0;
+ return find_stack_direction (0) < 0;
}])],
[ac_cv_c_stack_direction=1],
[ac_cv_c_stack_direction=-1],
hooks/post-receive
--
GNU Autoconf source repository
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [SCM] GNU Autoconf source repository branch, master, updated. v2.68-72-gb174741,
Paul Eggert <=