mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-20 17:53:02 +00:00
Merge branch 'maint'
* maint: maint: post-release administrivia version 3.5.1 news: update CI: use ICC again warnings: pacify ICC in lalr1.cc test: report.at: avoid tiny new failure git: update ignores
This commit is contained in:
@@ -1 +1 @@
|
|||||||
3.5
|
3.5.1
|
||||||
|
|||||||
16
.travis.yml
16
.travis.yml
@@ -118,6 +118,22 @@ jobs:
|
|||||||
- CXX='clang++-9 -fsanitize=address -stdlib=libc++'
|
- CXX='clang++-9 -fsanitize=address -stdlib=libc++'
|
||||||
- PART=2
|
- PART=2
|
||||||
|
|
||||||
|
- name: "ICC"
|
||||||
|
stage: check
|
||||||
|
os: linux
|
||||||
|
compiler: icc
|
||||||
|
env:
|
||||||
|
- CC=icc
|
||||||
|
- CXX=icpc
|
||||||
|
install:
|
||||||
|
- source /opt/intel/inteloneapi/compiler/latest/env/vars.sh
|
||||||
|
addons:
|
||||||
|
apt:
|
||||||
|
sources:
|
||||||
|
- sourceline: 'deb https://apt.repos.intel.com/oneapi all main'
|
||||||
|
key_url: 'https://apt.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRODUCTS-2023.PUB'
|
||||||
|
packages:
|
||||||
|
- intel-oneapi-icc
|
||||||
|
|
||||||
## ------- ##
|
## ------- ##
|
||||||
## First. ##
|
## First. ##
|
||||||
|
|||||||
8
NEWS
8
NEWS
@@ -14,6 +14,14 @@ GNU Bison NEWS
|
|||||||
(2013-07-25), "%error-verbose" is deprecated in favor of "%define
|
(2013-07-25), "%error-verbose" is deprecated in favor of "%define
|
||||||
parse.error verbose".
|
parse.error verbose".
|
||||||
|
|
||||||
|
* Noteworthy changes in release 3.5.1 (2020-01-19) [stable]
|
||||||
|
|
||||||
|
** Bug fixes
|
||||||
|
|
||||||
|
Portability fixes.
|
||||||
|
|
||||||
|
Fix compiler warnings.
|
||||||
|
|
||||||
* Noteworthy changes in release 3.5 (2019-12-11) [stable]
|
* Noteworthy changes in release 3.5 (2019-12-11) [stable]
|
||||||
|
|
||||||
** Backward incompatible changes
|
** Backward incompatible changes
|
||||||
|
|||||||
2
THANKS
2
THANKS
@@ -60,6 +60,7 @@ Enrico Scholz enrico.scholz@informatik.tu-chemnitz.de
|
|||||||
Eric Blake ebb9@byu.net
|
Eric Blake ebb9@byu.net
|
||||||
Eric S. Raymond esr@thyrsus.com
|
Eric S. Raymond esr@thyrsus.com
|
||||||
Étienne Renault renault@lrde.epita.fr
|
Étienne Renault renault@lrde.epita.fr
|
||||||
|
Evan Nemerson evan@nemerson.com
|
||||||
Evgeny Stambulchik fnevgeny@plasma-gate.weizmann.ac.il
|
Evgeny Stambulchik fnevgeny@plasma-gate.weizmann.ac.il
|
||||||
Fabrice Bauzac noon@cote-dazur.com
|
Fabrice Bauzac noon@cote-dazur.com
|
||||||
Ferdinand Thiessen ferdinand@fthiessen.de
|
Ferdinand Thiessen ferdinand@fthiessen.de
|
||||||
@@ -79,6 +80,7 @@ Hans Åberg haberg-1@telia.com
|
|||||||
Horst Von Brand vonbrand@inf.utfsm.cl
|
Horst Von Brand vonbrand@inf.utfsm.cl
|
||||||
Jan Nieuwenhuizen janneke@gnu.org
|
Jan Nieuwenhuizen janneke@gnu.org
|
||||||
Jannick thirdedition@gmx.net
|
Jannick thirdedition@gmx.net
|
||||||
|
Jeff Hammond jeff_hammond@acm.org
|
||||||
Jerry Quinn jlquinn@optonline.net
|
Jerry Quinn jlquinn@optonline.net
|
||||||
Jesse Thilo jthilo@gnu.org
|
Jesse Thilo jthilo@gnu.org
|
||||||
Jim Kent jkent@arch.sel.sony.com
|
Jim Kent jkent@arch.sel.sony.com
|
||||||
|
|||||||
34
configure.ac
34
configure.ac
@@ -26,7 +26,9 @@ m4_pattern_allow([^BISON_USE_NLS$])
|
|||||||
|
|
||||||
AC_INIT([GNU Bison],
|
AC_INIT([GNU Bison],
|
||||||
m4_esyscmd([build-aux/git-version-gen .tarball-version]),
|
m4_esyscmd([build-aux/git-version-gen .tarball-version]),
|
||||||
[bug-bison@gnu.org])
|
[bug-bison@gnu.org],
|
||||||
|
[],
|
||||||
|
[https://www.gnu.org/software/bison/])
|
||||||
AC_SUBST([PACKAGE_COPYRIGHT_YEAR], [2020])
|
AC_SUBST([PACKAGE_COPYRIGHT_YEAR], [2020])
|
||||||
AC_DEFINE_UNQUOTED([PACKAGE_COPYRIGHT_YEAR], [$PACKAGE_COPYRIGHT_YEAR],
|
AC_DEFINE_UNQUOTED([PACKAGE_COPYRIGHT_YEAR], [$PACKAGE_COPYRIGHT_YEAR],
|
||||||
[The copyright year for this package])
|
[The copyright year for this package])
|
||||||
@@ -100,13 +102,41 @@ if test "$enable_gcc_warnings" = yes; then
|
|||||||
# -Wno-tautological-constant-out-of-range-compare for Clang 3.3 and
|
# -Wno-tautological-constant-out-of-range-compare for Clang 3.3 and
|
||||||
# 3.4 on GNU/Linux that choke on intprops.h's INT_MULTIPLY_WRAPV,
|
# 3.4 on GNU/Linux that choke on intprops.h's INT_MULTIPLY_WRAPV,
|
||||||
# etc.
|
# etc.
|
||||||
|
#
|
||||||
|
# ICC: -wr188
|
||||||
|
#
|
||||||
|
# 1669 warnings warnings_default =
|
||||||
|
# ../src/complain.c(318): error #188: enumerated type mixed with another type
|
||||||
|
# 1670 Wconflicts_sr | Wconflicts_rr | Wdeprecated | Wother;
|
||||||
|
# 1671 ^
|
||||||
|
# 1672
|
||||||
|
# 1673../src/complain.c(393): error #188: enumerated type mixed with another type
|
||||||
|
# 1674 warnings w = 1 << wbit;
|
||||||
|
# 1675 ^
|
||||||
|
#
|
||||||
|
# ICC: -wr3179
|
||||||
|
#
|
||||||
|
# char const *usefulness
|
||||||
|
# = rule_useless_in_grammar_p (&rules[r]) ? "useless-in-grammar"
|
||||||
|
# : rule_useless_in_parser_p (&rules[r]) ? "useless-in-parser"
|
||||||
|
# : "useful";
|
||||||
|
#
|
||||||
|
# gives
|
||||||
|
#
|
||||||
|
# error #3179: deprecated conversion of string literal to char* (should be const char*)
|
||||||
|
#
|
||||||
|
# ICC: -wr2259 (that's in C, in spite of what the error messages which seems to be about C++).
|
||||||
|
# error #2259: non-pointer conversion from "int" to "yybool={signed char}" may lose significant bits
|
||||||
|
# yybool yynormal YY_ATTRIBUTE_UNUSED = yystackp->yysplitPoint == YY_NULLPTR;
|
||||||
|
# ^
|
||||||
warn_common='-Wall -Wextra
|
warn_common='-Wall -Wextra
|
||||||
-Wcast-align -Wchar-subscripts
|
-Wcast-align -Wchar-subscripts
|
||||||
-fparse-all-comments -Wdocumentation
|
-fparse-all-comments -Wdocumentation
|
||||||
-Wformat -Wimplicit-fallthrough -Wnull-dereference
|
-Wformat -Wimplicit-fallthrough -Wnull-dereference
|
||||||
-Wno-sign-compare -Wno-tautological-constant-out-of-range-compare
|
-Wno-sign-compare -Wno-tautological-constant-out-of-range-compare
|
||||||
-Wpointer-arith -Wshadow
|
-Wpointer-arith -Wshadow
|
||||||
-Wwrite-strings'
|
-Wwrite-strings
|
||||||
|
-wr188 -wr2259 -wr3179'
|
||||||
warn_c='-Wbad-function-cast -Wstrict-prototypes'
|
warn_c='-Wbad-function-cast -Wstrict-prototypes'
|
||||||
warn_cxx='-Wextra-semi -Wnoexcept -Wold-style-cast -Wundefined-func-template
|
warn_cxx='-Wextra-semi -Wnoexcept -Wold-style-cast -Wundefined-func-template
|
||||||
-Wweak-vtables'
|
-Wweak-vtables'
|
||||||
|
|||||||
@@ -640,7 +640,7 @@ m4_if(b4_prefix, [yy], [],
|
|||||||
if (state == empty_state)
|
if (state == empty_state)
|
||||||
return empty_symbol;
|
return empty_symbol;
|
||||||
else
|
else
|
||||||
return yystos_[state];
|
return yystos_[+state];
|
||||||
}
|
}
|
||||||
|
|
||||||
]b4_parser_class[::stack_symbol_type::stack_symbol_type ()
|
]b4_parser_class[::stack_symbol_type::stack_symbol_type ()
|
||||||
@@ -866,7 +866,7 @@ b4_dollar_popdef])[]dnl
|
|||||||
`-----------*/
|
`-----------*/
|
||||||
yybackup:
|
yybackup:
|
||||||
// Try to take a decision without lookahead.
|
// Try to take a decision without lookahead.
|
||||||
yyn = yypact_[yystack_[0].state];
|
yyn = yypact_[+yystack_[0].state];
|
||||||
if (yy_pact_value_is_default_ (yyn))
|
if (yy_pact_value_is_default_ (yyn))
|
||||||
goto yydefault;
|
goto yydefault;
|
||||||
|
|
||||||
@@ -930,7 +930,7 @@ b4_dollar_popdef])[]dnl
|
|||||||
| yydefault -- do the default action for the current state. |
|
| yydefault -- do the default action for the current state. |
|
||||||
`-----------------------------------------------------------*/
|
`-----------------------------------------------------------*/
|
||||||
yydefault:
|
yydefault:
|
||||||
yyn = yydefact_[yystack_[0].state];
|
yyn = yydefact_[+yystack_[0].state];
|
||||||
if (yyn == 0)
|
if (yyn == 0)
|
||||||
goto yyerrlab;
|
goto yyerrlab;
|
||||||
goto yyreduce;
|
goto yyreduce;
|
||||||
@@ -1058,7 +1058,7 @@ b4_dollar_popdef])[]dnl
|
|||||||
stack_symbol_type error_token;
|
stack_symbol_type error_token;
|
||||||
for (;;)
|
for (;;)
|
||||||
{
|
{
|
||||||
yyn = yypact_[yystack_[0].state];
|
yyn = yypact_[+yystack_[0].state];
|
||||||
if (!yy_pact_value_is_default_ (yyn))
|
if (!yy_pact_value_is_default_ (yyn))
|
||||||
{
|
{
|
||||||
yyn += yy_error_token_;
|
yyn += yy_error_token_;
|
||||||
@@ -1168,13 +1168,13 @@ b4_dollar_popdef])[]dnl
|
|||||||
state_type top_state = (yylac_stack_.empty ()
|
state_type top_state = (yylac_stack_.empty ()
|
||||||
? yystack_[lac_top].state
|
? yystack_[lac_top].state
|
||||||
: yylac_stack_.back ());
|
: yylac_stack_.back ());
|
||||||
int yyrule = yypact_[top_state];
|
int yyrule = yypact_[+top_state];
|
||||||
if (yy_pact_value_is_default_ (yyrule)
|
if (yy_pact_value_is_default_ (yyrule)
|
||||||
|| (yyrule += yytoken) < 0 || yylast_ < yyrule
|
|| (yyrule += yytoken) < 0 || yylast_ < yyrule
|
||||||
|| yycheck_[yyrule] != yytoken)
|
|| yycheck_[yyrule] != yytoken)
|
||||||
{
|
{
|
||||||
// Use the default action.
|
// Use the default action.
|
||||||
yyrule = yydefact_[top_state];
|
yyrule = yydefact_[+top_state];
|
||||||
if (yyrule == 0)
|
if (yyrule == 0)
|
||||||
{
|
{
|
||||||
YYCDEBUG << " Err\n";
|
YYCDEBUG << " Err\n";
|
||||||
@@ -1347,7 +1347,7 @@ b4_error_verbose_if([state_type yystate, const symbol_type& yyla],
|
|||||||
yy_lac_check_ (yytoken);
|
yy_lac_check_ (yytoken);
|
||||||
#endif]])[
|
#endif]])[
|
||||||
|
|
||||||
int yyn = yypact_[yystate];
|
int yyn = yypact_[+yystate];
|
||||||
if (!yy_pact_value_is_default_ (yyn))
|
if (!yy_pact_value_is_default_ (yyn))
|
||||||
{]b4_lac_if([[
|
{]b4_lac_if([[
|
||||||
for (int yyx = 0; yyx < yyntokens_; ++yyx)
|
for (int yyx = 0; yyx < yyntokens_; ++yyx)
|
||||||
|
|||||||
1
m4/.gitignore
vendored
1
m4/.gitignore
vendored
@@ -91,6 +91,7 @@
|
|||||||
/locale_h.m4
|
/locale_h.m4
|
||||||
/localtime-buffer.m4
|
/localtime-buffer.m4
|
||||||
/lock.m4
|
/lock.m4
|
||||||
|
/longlong.m4
|
||||||
/lstat.m4
|
/lstat.m4
|
||||||
/malloc.m4
|
/malloc.m4
|
||||||
/malloca.m4
|
/malloca.m4
|
||||||
|
|||||||
@@ -579,7 +579,7 @@ State 19
|
|||||||
AT_CHECK([sed -e '1s/GNU Bison .*\.$/GNU Bison VERSION./' input.gv], [],
|
AT_CHECK([sed -e '1s/GNU Bison .*\.$/GNU Bison VERSION./' input.gv], [],
|
||||||
[[// Generated by GNU Bison VERSION.
|
[[// Generated by GNU Bison VERSION.
|
||||||
// Report bugs to <bug-bison@gnu.org>.
|
// Report bugs to <bug-bison@gnu.org>.
|
||||||
// Home page: <http://www.gnu.org/software/bison/>.
|
// Home page: <https://www.gnu.org/software/bison/>.
|
||||||
|
|
||||||
digraph "input.yy"
|
digraph "input.yy"
|
||||||
{
|
{
|
||||||
@@ -673,7 +673,7 @@ digraph "input.yy"
|
|||||||
AT_CHECK([[sed -e 's/bison-xml-report version="[^"]*"/bison-xml-report version="VERSION"/g' input.xml]], [],
|
AT_CHECK([[sed -e 's/bison-xml-report version="[^"]*"/bison-xml-report version="VERSION"/g' input.xml]], [],
|
||||||
[[<?xml version="1.0"?>
|
[[<?xml version="1.0"?>
|
||||||
|
|
||||||
<bison-xml-report version="VERSION" bug-report="bug-bison@gnu.org" url="http://www.gnu.org/software/bison/">
|
<bison-xml-report version="VERSION" bug-report="bug-bison@gnu.org" url="https://www.gnu.org/software/bison/">
|
||||||
|
|
||||||
<filename>input.yy</filename>
|
<filename>input.yy</filename>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user