From: Lars Ingebrigtsen <larsi@gnus.org>
To: Lars Tveito <larstvei@ifi.uio.no>
Cc: 57957@debbugs.gnu.org, Andrea Corallo <akrl@sdf.org>
Subject: bug#57957: 29.0.50; Native compilation hangs on cyclic lists
Date: Tue, 20 Sep 2022 17:33:55 +0200 [thread overview]
Message-ID: <87pmfqawm4.fsf@gnus.org> (raw)
In-Reply-To: <53a58362fbe449bc81eaf45ab66dd28d@ifi.uio.no> (Lars Tveito's message of "Tue, 20 Sep 2022 07:55:48 +0000")
Lars Tveito <larstvei@ifi.uio.no> writes:
> Evaluating the two following forms results in Emacs hanging:
>
> (defun test-cycle ()
> '#1=(a . #1#))
>
> (native-compile 'test-cycle)
It seems to be inflooping in comp-ssa-rename. A debug-on-quit backtrace
included below.
I've added Andrea to the CCs; perhaps he has some comments.
Debugger entered--Lisp error: (quit)
#f(compiled-function (x) #<bytecode -0xadd90b5d8edcf84>)((a . #1))
cl--nsublis-rec((a . #1))
cl--nsublis-rec(((a . #2)))
cl--nsublis-rec((((a . #3))))
cl-nsublis(((nil . #s(comp-mvar :typeset (t) :valset nil :range nil :
cl-nsubst-if(#s(comp-mvar :typeset (t) :valset nil :range nil :neg ni
comp-ssa-rename-insn((setimm #s(comp-mvar :typeset (t) :valset nil :r
#f(compiled-function (bb in-frame) #<bytecode -0xdf66bba587123ea>)(#s
#f(compiled-function (bb in-frame) #<bytecode -0xdf66bba587123ea>)(#s
comp-ssa-rename()
#<subr F616e6f6e796d6f75732d6c616d626461_anonymous_lambda_112>("F7465
comp-ssa()
comp-fwprop(nil)
funcall(comp-fwprop nil)
(setq data (funcall pass data))
(if (memq pass comp-disabled-passes) (progn) (comp-log (format "(%s)
(while (progn (setq t0 (current-time)) (consp --cl-var--)) (setq pass
(let* ((report nil) (t0 nil) (--cl-var-- comp-passes) (pass nil) (--c
...
next prev parent reply other threads:[~2022-09-20 15:33 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-09-20 7:55 bug#57957: 29.0.50; Native compilation hangs on cyclic lists Lars Tveito
2022-09-20 15:33 ` Lars Ingebrigtsen [this message]
2022-09-21 19:18 ` Andrea Corallo
2022-09-22 11:15 ` Lars Ingebrigtsen
2022-09-22 12:06 ` Gerd Möllmann
2022-09-22 16:07 ` Andrea Corallo
2022-09-22 16:41 ` Gerd Möllmann
2022-09-22 17:10 ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-09-22 22:39 ` Andrea Corallo
2024-03-24 11:26 ` bug#57957: bug#69872: 29.2; Async native compilation of seq.el test uses up resources and hangs Andrea Corallo
2024-04-01 20:46 ` Andrea Corallo
2022-09-25 10:02 ` bug#57957: 29.0.50; Native compilation hangs on cyclic lists Basil L. Contovounesios via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-09-22 14:25 ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87pmfqawm4.fsf@gnus.org \
--to=larsi@gnus.org \
--cc=57957@debbugs.gnu.org \
--cc=akrl@sdf.org \
--cc=larstvei@ifi.uio.no \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).