diff options
| author | Andrea Corallo | 2024-03-24 11:29:37 +0100 |
|---|---|---|
| committer | Andrea Corallo | 2024-03-24 12:16:11 +0100 |
| commit | c5de73a95a6ecefe46fe1ac07da8e83032be7f5b (patch) | |
| tree | 32f75f1f1c54e71a1c2d009199121619e975d8c7 /test/src | |
| parent | 30b1b0d7cd8e4d46a601e9737350cda970f6bab0 (diff) | |
| download | emacs-c5de73a95a6ecefe46fe1ac07da8e83032be7f5b.tar.gz emacs-c5de73a95a6ecefe46fe1ac07da8e83032be7f5b.zip | |
Fix native compilation for circular immediates (bug#67883)
* test/src/comp-resources/comp-test-funcs.el
(comp-test-67883-1-f): New function.
* lisp/emacs-lisp/comp.el (comp--collect-rhs)
(comp--ssa-rename-insn): Handle setimm aside to avoid unnecessary
immediate manipulation.
(comp--copy-insn-rec): Rename.
(comp--copy-insn): New function.
(comp--dead-assignments-func): Handle setimm aside to avoid
unnecessary.
Diffstat (limited to 'test/src')
| -rw-r--r-- | test/src/comp-resources/comp-test-funcs.el | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/src/comp-resources/comp-test-funcs.el b/test/src/comp-resources/comp-test-funcs.el index dc4abf50767..54f339f6373 100644 --- a/test/src/comp-resources/comp-test-funcs.el +++ b/test/src/comp-resources/comp-test-funcs.el | |||
| @@ -559,6 +559,9 @@ | |||
| 559 | (let ((time (make-comp-test-time :unix (time-convert (current-time) 'integer)))) | 559 | (let ((time (make-comp-test-time :unix (time-convert (current-time) 'integer)))) |
| 560 | (comp-test-67239-0-f "%F" time))) | 560 | (comp-test-67239-0-f "%F" time))) |
| 561 | 561 | ||
| 562 | (defun comp-test-67883-1-f () | ||
| 563 | '#1=(1 . #1#)) | ||
| 564 | |||
| 562 | 565 | ||
| 563 | ;;;;;;;;;;;;;;;;;;;; | 566 | ;;;;;;;;;;;;;;;;;;;; |
| 564 | ;; Tromey's tests ;; | 567 | ;; Tromey's tests ;; |