]> git.eshelyaron.com Git - emacs.git/commit
Drop support for -fcheck-pointer-bounds
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 4 Aug 2020 18:09:55 +0000 (11:09 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 4 Aug 2020 18:15:16 +0000 (11:15 -0700)
commitfe2649528b0b7637e6b6851c41e696a1016d8d53
treeca715aed4e63097fecb6de8f4f6d2b8fc32c1840
parent1308587c25cc28248c3d38748f76bb9e6324b929
Drop support for -fcheck-pointer-bounds

GCC has removed the -fcheck-pointer bounds option, and the Linux
kernel has also removed support for Intel MPX, so there’s no point
to keeping this debugging option within Emacs.
* src/bytecode.c (BYTE_CODE_THREADED):
* src/lisp.h (DEFINE_LISP_SYMBOL, XSYMBOL, make_lisp_symbol):
Assume __CHKP__ is not defined.
* src/ptr-bounds.h: Remove.  All uses of ptr_bounds_clip,
ptr_bounds_copy, ptr_bounds_init, ptr_bounds_set removed.
12 files changed:
etc/NEWS
src/alloc.c
src/bytecode.c
src/callint.c
src/dispnew.c
src/editfns.c
src/emacs.c
src/frame.c
src/fringe.c
src/gmalloc.c
src/lisp.h
src/ptr-bounds.h [deleted file]