• Paul Eggert's avatar
    Fix constant folding of overflows · 5b0fed95
    Paul Eggert authored
    This suppresses some byte-code optimizations that were invalid in
    the presence of integer overflows, because they meant that .elc
    files assumed the runtime behavior of the compiling platform, as
    opposed to the runtime platform.  Problem reported by Pip Cet in:
    https://lists.gnu.org/r/emacs-devel/2018-03/msg00753.html
    * lisp/emacs-lisp/byte-opt.el (byte-opt--portable-max)
    (byte-opt--portable-min): New constants.
    (byte-opt--portable-numberp, byte-opt--arith-reduce)
    (byte-optimize-1+, byte-optimize-1-): New functions.
    (byte-optimize-plus, byte-optimize-minus, byte-optimize-multiply)
    (byte-optimize-divide):	Avoid invalid optimizations.
    (1+, 1-): Use new optimizers.
    (byte-optimize-or, byte-optimize-cond): Simplify by using
    remq instead of delq and copy-sequence.
    5b0fed95
Name
Last commit
Last update
admin Loading commit data...
build-aux Loading commit data...
doc Loading commit data...
etc Loading commit data...
leim Loading commit data...
lib Loading commit data...
lib-src Loading commit data...
lisp Loading commit data...
lwlib Loading commit data...
m4 Loading commit data...
modules Loading commit data...
msdos Loading commit data...
nextstep Loading commit data...
nt Loading commit data...
oldXMenu Loading commit data...
src Loading commit data...
test Loading commit data...
.clang-format Loading commit data...
.dir-locals.el Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.gitlab-ci.yml Loading commit data...
BUGS Loading commit data...
CONTRIBUTE Loading commit data...
COPYING Loading commit data...
ChangeLog.1 Loading commit data...
ChangeLog.2 Loading commit data...
ChangeLog.3 Loading commit data...
GNUmakefile Loading commit data...
INSTALL Loading commit data...
INSTALL.REPO Loading commit data...
Makefile.in Loading commit data...
README Loading commit data...
autogen.sh Loading commit data...
config.bat Loading commit data...
configure.ac Loading commit data...
make-dist Loading commit data...