[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[SCM] gawk branch, gawk-5.2-stable, updated. gawk-4.1.0-4935-g7d092bd9
From: |
Arnold Robbins |
Subject: |
[SCM] gawk branch, gawk-5.2-stable, updated. gawk-4.1.0-4935-g7d092bd9 |
Date: |
Sun, 23 Oct 2022 09:55:38 -0400 (EDT) |
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 "gawk".
The branch, gawk-5.2-stable has been updated
via 7d092bd9842b77b294232e64f4d58dfb51f9021c (commit)
via 3c311d669d315536685d7ed2dbc852bf408ff1f1 (commit)
from 0d9727bcd312da8555ca59942790adfee5fcafea (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.sv.gnu.org/cgit/gawk.git/commit/?id=7d092bd9842b77b294232e64f4d58dfb51f9021c
commit 7d092bd9842b77b294232e64f4d58dfb51f9021c
Author: Arnold D. Robbins <arnold@skeeve.com>
Date: Sun Oct 23 16:53:43 2022 +0300
Improve handling of .developing file.
diff --git a/ChangeLog b/ChangeLog
index 8c516581..17b0c22a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -3,6 +3,7 @@
* NEWS: Updated.
* debug.c (execute_code): Comment out declaration and assignment of
save_stack_size variable. It's not used anymore.
+ * configure.ac: Sync code for .developing with extension/configure.ac.
2022-10-23 Arnold D. Robbins <arnold@skeeve.com>
diff --git a/configure b/configure
index 64552707..309e0ffe 100755
--- a/configure
+++ b/configure
@@ -7089,6 +7089,7 @@ ARFLAGS=cru # set default
# This is mainly for my use during testing and development.
# Yes, it's a bit of a hack.
+# Keep in sync with same code in extension/configure.ac
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for special development
options" >&5
printf %s "checking for special development options... " >&6; }
if test -f $srcdir/.developing
@@ -7100,7 +7101,7 @@ then
# enable debugging using macros also
if test "$GCC" = yes
then
- CFLAGS="$CFLAGS -Wall -fno-builtin -g3 -ggdb3"
+ CFLAGS="$CFLAGS -Wall -fno-builtin -ggdb3 -gdwarf-4"
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
printf "%s\n" "yes" >&6; }
@@ -15580,7 +15581,7 @@ if test "$GCC" = yes &&
test -f $srcdir/.developing &&
grep -i debug $srcdir/.developing > /dev/null
then
- for i in . support extension
+ for i in . support
do
sed '/-O2/s///' $i/Makefile > foo
mv foo $i/Makefile
diff --git a/configure.ac b/configure.ac
index 2aa3e68f..44964293 100644
--- a/configure.ac
+++ b/configure.ac
@@ -125,6 +125,7 @@ AC_SUBST(AR)
# This is mainly for my use during testing and development.
# Yes, it's a bit of a hack.
+# Keep in sync with same code in extension/configure.ac
AC_MSG_CHECKING([for special development options])
if test -f $srcdir/.developing
then
@@ -135,7 +136,7 @@ then
# enable debugging using macros also
if test "$GCC" = yes
then
- CFLAGS="$CFLAGS -Wall -fno-builtin -g3 -ggdb3"
+ CFLAGS="$CFLAGS -Wall -fno-builtin -ggdb3 -gdwarf-4"
fi
AC_MSG_RESULT([yes])
else
@@ -501,7 +502,7 @@ if test "$GCC" = yes &&
test -f $srcdir/.developing &&
grep -i debug $srcdir/.developing > /dev/null
then
- for i in . support extension
+ for i in . support
do
sed '/-O2/s///' $i/Makefile > foo
mv foo $i/Makefile
diff --git a/extension/ChangeLog b/extension/ChangeLog
index ffbda59e..521c1303 100644
--- a/extension/ChangeLog
+++ b/extension/ChangeLog
@@ -2,6 +2,7 @@
* configure.ac: Add handling of persistent malloc stuff. This is
for dealing with M1 macOS.
+ * configure.ac: Sync code for .developing with main configure.ac.
2022-10-14 Andrew J. Schorr <aschorr@telemetry-investments.com>
diff --git a/extension/configure b/extension/configure
index a87f23b1..b5c64186 100755
--- a/extension/configure
+++ b/extension/configure
@@ -17132,13 +17132,14 @@ if test -f $srcdir/../.developing
then
if test "$GCC" = yes
then
- CFLAGS="$CFLAGS -Wall -fno-builtin -g3 -gdwarf-2"
+ CFLAGS="$CFLAGS -Wall -fno-builtin -ggdb3 -gdwarf-4"
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
printf "%s\n" "yes" >&6; }
else
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
printf "%s\n" "no" >&6; }
+ CFLAGS="$CFLAGS -DNDEBUG" # turn off assertions
fi
ac_fn_c_check_header_compile "$LINENO" "fnmatch.h" "ac_cv_header_fnmatch_h"
"$ac_includes_default"
@@ -20224,4 +20225,11 @@ if test -n "$ac_unrecognized_opts" && test
"$enable_option_checking" != no; then
printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts"
>&2;}
fi
+if test "$GCC" = yes &&
+ test -f $srcdir/../.developing &&
+ grep -i debug $srcdir/../.developing > /dev/null
+then
+ sed '/-O2/s///' Makefile > foo
+ mv foo Makefile
+fi
diff --git a/extension/configure.ac b/extension/configure.ac
index f45565ef..278c726d 100644
--- a/extension/configure.ac
+++ b/extension/configure.ac
@@ -93,11 +93,12 @@ if test -f $srcdir/../.developing
then
if test "$GCC" = yes
then
- CFLAGS="$CFLAGS -Wall -fno-builtin -g3 -gdwarf-2"
+ CFLAGS="$CFLAGS -Wall -fno-builtin -ggdb3 -gdwarf-4"
fi
AC_MSG_RESULT([yes])
else
AC_MSG_RESULT([no])
+ CFLAGS="$CFLAGS -DNDEBUG" # turn off assertions
fi
AC_CHECK_HEADERS(fnmatch.h limits.h sys/mkdev.h sys/param.h sys/select.h \
@@ -135,3 +136,10 @@ AH_BOTTOM([#include "ext_custom.h"])
AC_CONFIG_FILES(Makefile po/Makefile.in)
AC_OUTPUT
+if test "$GCC" = yes &&
+ test -f $srcdir/../.developing &&
+ grep -i debug $srcdir/../.developing > /dev/null
+then
+ sed '/-O2/s///' Makefile > foo
+ mv foo Makefile
+fi
http://git.sv.gnu.org/cgit/gawk.git/commit/?id=3c311d669d315536685d7ed2dbc852bf408ff1f1
commit 3c311d669d315536685d7ed2dbc852bf408ff1f1
Author: Arnold D. Robbins <arnold@skeeve.com>
Date: Sun Oct 23 16:52:32 2022 +0300
Fix compilation warning.
diff --git a/ChangeLog b/ChangeLog
index 17051d2b..8c516581 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,8 @@
2022-10-23 Arnold D. Robbins <arnold@skeeve.com>
- * NEW: Updated.
+ * NEWS: Updated.
+ * debug.c (execute_code): Comment out declaration and assignment of
+ save_stack_size variable. It's not used anymore.
2022-10-23 Arnold D. Robbins <arnold@skeeve.com>
diff --git a/debug.c b/debug.c
index b85939f3..683f3a69 100644
--- a/debug.c
+++ b/debug.c
@@ -5567,7 +5567,7 @@ execute_code(volatile INSTRUCTION *code)
{
volatile NODE *r = NULL;
volatile jmp_buf fatal_tag_stack;
- long save_stack_size;
+ // long save_stack_size; // see comment below
int save_flags = do_flags;
/* We use one global stack for all contexts.
@@ -5575,7 +5575,7 @@ execute_code(volatile INSTRUCTION *code)
* a fatal error, pop stack until it has that many items.
*/
- save_stack_size = (stack_ptr - stack_bottom) + 1;
+ // save_stack_size = (stack_ptr - stack_bottom) + 1; // see comment
below
do_flags = false;
PUSH_BINDING(fatal_tag_stack, fatal_tag, fatal_tag_valid);
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 5 ++++-
configure | 5 +++--
configure.ac | 5 +++--
debug.c | 4 ++--
extension/ChangeLog | 1 +
extension/configure | 10 +++++++++-
extension/configure.ac | 10 +++++++++-
7 files changed, 31 insertions(+), 9 deletions(-)
hooks/post-receive
--
gawk
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [SCM] gawk branch, gawk-5.2-stable, updated. gawk-4.1.0-4935-g7d092bd9,
Arnold Robbins <=