]> git.eshelyaron.com Git - emacs.git/commit
Fix compilation errors due to insufficient compiler safety (bug#63288)
authorPip Cet <pipcet@protonmail.com>
Mon, 17 Feb 2025 15:21:16 +0000 (15:21 +0000)
committerEshel Yaron <me@eshelyaron.com>
Tue, 18 Feb 2025 08:53:59 +0000 (09:53 +0100)
commitc3d8d999f889c49a7b025513eb1b57533554a3da
tree9cc3ba7a5204a42f2d115292add695ef3480cbd0
parent414a0b26e10bf2a8c021fd2b3c42fea9afd94beb
Fix compilation errors due to insufficient compiler safety (bug#63288)

The default safety level is 1.  Restoring the default safety level to
1 after it was temporarily 0 should reset byte-compile-delete-errors
to nil, its default level.  Failing to do that resulted in
miscompilation of code in highly-parallel builds.

* lisp/emacs-lisp/cl-macs.el (cl--do-proclaim): Change
'byte-compile-delete-errors' to become t only at 'safety' level 0, not
levels 1 or 2.

(cherry picked from commit 53a5dada413662389a17c551a00d215e51f5049f)
lisp/emacs-lisp/cl-macs.el