]> git.eshelyaron.com Git - emacs.git/commit
Port Qnil==0 XUNTAG to clang
authorPaul Eggert <eggert@cs.ucla.edu>
Thu, 8 Jan 2015 07:02:01 +0000 (23:02 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Thu, 8 Jan 2015 07:02:27 +0000 (23:02 -0800)
commitf6a27d26dccdcc121bebc96fbf41f656fbf13138
tree344d746bc2738cbf6a19bc378236b3a6810febc2
parent9f654763f2223ce9f3317b44a3d1a8ac2c8bb832
Port Qnil==0 XUNTAG to clang

clang has undefined behavior if the program subtracts an integer
from (char *) 0.  Problem reported by YAMAMOTO Mitsuharu in:
http://lists.gnu.org/archive/html/emacs-devel/2015-01/msg00132.html
* lisp.h (lisp_h_XUNTAG) [USE_LSB_TAG]:
(XUNTAG) [!USE_LSB_TAG]: Port to clang 3.5.0.
src/ChangeLog
src/lisp.h