]> git.eshelyaron.com Git - emacs.git/commit
Fix GC bug with Lisp floats and --with-wide-int
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 31 Aug 2020 06:40:11 +0000 (23:40 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 31 Aug 2020 07:05:56 +0000 (00:05 -0700)
commit2ff930d861b772466b9f6b95d1776696298f3e0b
treea9591745cd75d73cc9c4573e2e1f3031ef5013ce
parent886ba068c82dcf5e0e2e1244bf99841d4ff5690c
Fix GC bug with Lisp floats and --with-wide-int

On --with-wide-int platforms where Lisp_Object can be
put into non-adjacent registers, mark_maybe_pointer failed
to mark a float whose only reference was as a tagged pointer.
* src/alloc.c (live_float_holding): New function,
a generalization of the old live_float_p.
(live_float_p): Use it.
(mark_maybe_pointer): Use live_float_holding, not live_float_p.
src/alloc.c