* configure.ac (AC_PREREQ): Bump to 2.58.
+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>
* configure.ac (AM_GNU_GETTEXT_VERSION): Lower it from 0.14.1 to
2004-05-26 Paul Eggert <eggert@cs.ucla.edu>
* configure.ac (AM_GNU_GETTEXT_VERSION): Lower it from 0.14.1 to
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
# 02111-1307 USA
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
# 02111-1307 USA
-# We need a recent Autoconf to run a recent Autotest.
-AC_PREREQ(2.57)
+# We need a recent Autoconf to avoid the message
+# "autom4te: unknown language: Autoconf-without-aclocal-m4".
+AC_PREREQ(2.58)
AC_INIT([GNU Bison], [1.875e], [bug-bison@gnu.org])
AC_CONFIG_AUX_DIR([config])
AC_INIT([GNU Bison], [1.875e], [bug-bison@gnu.org])
AC_CONFIG_AUX_DIR([config])
- 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.
Do not bother to ignore them at the end of 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,