changeset 70242:90c1af0130a2

(store_in_keymap): Change `def' arg to not be `register'. Seems to trigger a bug in gcc-amd64 4.0.2 20051125 (Red Hat 4.0.2-8): keymap.c:895: error: address of register variable `def' requested.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Wed, 26 Apr 2006 20:50:25 +0000
parents 07c1b5999e53
children 040cb1efa4bc
files src/ChangeLog src/keymap.c
diffstat 2 files changed, 7 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Wed Apr 26 20:40:18 2006 +0000
+++ b/src/ChangeLog	Wed Apr 26 20:50:25 2006 +0000
@@ -1,3 +1,9 @@
+2006-04-26  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+	* keymap.c (store_in_keymap): Change `def' arg to not be `register'.
+	Seems to trigger a bug in gcc-amd64 4.0.2 20051125 (Red Hat 4.0.2-8):
+	keymap.c:895: error: address of register variable `def' requested.
+
 2006-04-26  Jason Rumney  <jasonr@gnu.org>
 
 	* w32term.c (construct_mouse_wheel): Handle negative coordinates.
@@ -992,11 +998,6 @@
 	(mac_set_clip_rectangles): When resetting clip region, make it
 	empty instead of disposing of it.
 
-2006-02-20  Stefan Monnier  <monnier@iro.umontreal.ca>
-
-	* keymap.c (store_in_keymap): Change `def' arg to not be `register'.
-	Seems to trigger a bug in gcc-amd64 4.0.2 20051125 (Red Hat 4.0.2-8).
-
 2006-02-20  Kim F. Storm  <storm@cua.dk>
 
 	* Makefile.in: Add fringe.elc to WINDOW_SUPPORT.
--- a/src/keymap.c	Wed Apr 26 20:40:18 2006 +0000
+++ b/src/keymap.c	Wed Apr 26 20:50:25 2006 +0000
@@ -866,7 +866,7 @@
 store_in_keymap (keymap, idx, def)
      Lisp_Object keymap;
      register Lisp_Object idx;
-     register Lisp_Object def;
+     Lisp_Object def;
 {
   /* Flush any reverse-map cache.  */
   where_is_cache = Qnil;