]> git.eshelyaron.com Git - emacs.git/commit
Fix integer arithmetic miss-compilation (bug#53451)
authorAndrea Corallo <akrl@sdf.org>
Wed, 9 Feb 2022 16:38:10 +0000 (17:38 +0100)
committerAndrea Corallo <akrl@sdf.org>
Wed, 9 Feb 2022 16:58:57 +0000 (17:58 +0100)
commit69e82968d7c2b64710f6f6b79597ac98c82449e7
tree828f8d8beeca786a9c92052d6044d67830e17547
parent31af9bca99fa88350271e1a905c9b435eaec28cf
Fix integer arithmetic miss-compilation (bug#53451)

* lisp/emacs-lisp/comp-cstr.el (comp-cstr-set-range-for-arithm):
When one of the two sources is negated revert to set dst as
number.
* test/src/comp-tests.el (comp-tests-type-spec-tests): Add test to
verify this is effective.
lisp/emacs-lisp/comp-cstr.el
test/src/comp-tests.el