mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-20 09:43:03 +00:00
* src/parse-gram.y (lloc_default): Rewrite to avoid compiler bug.
* configure.ac (AC_PREREQ): Bump to 2.58.
This commit is contained in:
@@ -1,3 +1,12 @@
|
|||||||
|
2004-05-27 Paul Eggert <eggert@cs.ucla.edu>
|
||||||
|
|
||||||
|
* src/parse-gram.y (lloc_default): Rewrite to avoid compiler bug
|
||||||
|
in SGI MIPSpro 7.4.1m. Problem reported by Albert Chin-A-Young in
|
||||||
|
<http://mail.gnu.org/archive/html/bug-bison/2004-05/msg00037.html>.
|
||||||
|
|
||||||
|
* configure.ac (AC_PREREQ): Bump to 2.58, since 2.57 doesn't work
|
||||||
|
(it fails with a Autoconf-without-aclocal-m4 diagnostic).
|
||||||
|
|
||||||
2004-05-26 Paul Eggert <eggert@cs.ucla.edu>
|
2004-05-26 Paul Eggert <eggert@cs.ucla.edu>
|
||||||
|
|
||||||
* configure.ac (AM_GNU_GETTEXT_VERSION): Lower it from 0.14.1 to
|
* configure.ac (AM_GNU_GETTEXT_VERSION): Lower it from 0.14.1 to
|
||||||
|
|||||||
@@ -17,8 +17,9 @@
|
|||||||
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
|
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
|
||||||
# 02111-1307 USA
|
# 02111-1307 USA
|
||||||
|
|
||||||
# We need a recent Autoconf to run a recent Autotest.
|
# We need a recent Autoconf to avoid the message
|
||||||
AC_PREREQ(2.57)
|
# "autom4te: unknown language: Autoconf-without-aclocal-m4".
|
||||||
|
AC_PREREQ(2.58)
|
||||||
|
|
||||||
AC_INIT([GNU Bison], [1.875e], [bug-bison@gnu.org])
|
AC_INIT([GNU Bison], [1.875e], [bug-bison@gnu.org])
|
||||||
AC_CONFIG_AUX_DIR([config])
|
AC_CONFIG_AUX_DIR([config])
|
||||||
|
|||||||
@@ -443,7 +443,11 @@ lloc_default (YYLTYPE const *rhs, int n)
|
|||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
YYLTYPE loc;
|
YYLTYPE loc;
|
||||||
loc.start = loc.end = rhs[n].end;
|
|
||||||
|
/* SGI MIPSpro 7.4.1m miscompiles "loc.start = loc.end = rhs[n].end;".
|
||||||
|
The bug is fixed in 7.4.2m, but play it safe for now. */
|
||||||
|
loc.start = rhs[n].end;
|
||||||
|
loc.end = rhs[n].end;
|
||||||
|
|
||||||
/* Ignore empty nonterminals the start of the the right-hand side.
|
/* Ignore empty nonterminals the start of the the right-hand side.
|
||||||
Do not bother to ignore them at the end of the right-hand side,
|
Do not bother to ignore them at the end of the right-hand side,
|
||||||
|
|||||||
Reference in New Issue
Block a user