X-Loop: help-debbugs@HIDDEN Subject: bug#57957: 29.0.50; Native compilation hangs on cyclic lists Resent-From: Lars Tveito <larstvei@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Tue, 20 Sep 2022 14:28:02 +0000 Resent-Message-ID: <handler.57957.B.16636840387516 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: report 57957 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 57957 <at> debbugs.gnu.org X-Debbugs-Original-To: "bug-gnu-emacs@HIDDEN" <bug-gnu-emacs@HIDDEN> Received: via spool by submit <at> debbugs.gnu.org id=B.16636840387516 (code B ref -1); Tue, 20 Sep 2022 14:28:02 +0000 Received: (at submit) by debbugs.gnu.org; 20 Sep 2022 14:27:18 +0000 Received: from localhost ([127.0.0.1]:59159 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1oaeDV-0001x9-Th for submit <at> debbugs.gnu.org; Tue, 20 Sep 2022 10:27:18 -0400 Received: from lists.gnu.org ([209.51.188.17]:39148) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <larstvei@HIDDEN>) id 1oaY6r-0000p7-AQ for submit <at> debbugs.gnu.org; Tue, 20 Sep 2022 03:56:02 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:55060) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <larstvei@HIDDEN>) id 1oaY6q-0002Im-Kj for bug-gnu-emacs@HIDDEN; Tue, 20 Sep 2022 03:56:01 -0400 Received: from mail-out01.uio.no ([2001:700:100:10::50]:59775) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <larstvei@HIDDEN>) id 1oaY6o-0003Mj-4B for bug-gnu-emacs@HIDDEN; Tue, 20 Sep 2022 03:56:00 -0400 Received: from mail-mx11.uio.no ([129.240.10.83]) by mail-out01.uio.no with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from <larstvei@HIDDEN>) id 1oaY6f-00HUBL-FB for bug-gnu-emacs@HIDDEN; Tue, 20 Sep 2022 09:55:49 +0200 Received: from mail-ex34.exprod.uio.no ([129.240.52.57]) by mail-mx11.uio.no with esmtps (TLS1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.95) (envelope-from <larstvei@HIDDEN>) id 1oaY6e-0005B5-SZ for bug-gnu-emacs@HIDDEN; Tue, 20 Sep 2022 09:55:49 +0200 Received: from mail-ex31.exprod.uio.no (2001:700:100:52::51) by mail-ex34.exprod.uio.no (2001:700:100:52::57) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.12; Tue, 20 Sep 2022 09:55:48 +0200 Received: from mail-ex31.exprod.uio.no ([fe80::3dcb:90ad:2acb:f338]) by mail-ex31.exprod.uio.no ([fe80::3dcb:90ad:2acb:f338%7]) with mapi id 15.02.1118.012; Tue, 20 Sep 2022 09:55:48 +0200 From: Lars Tveito <larstvei@HIDDEN> Thread-Topic: 29.0.50; Native compilation hangs on cyclic lists Thread-Index: AQHYzMV6U3mCgU+RZU6MS25NemWoog== Date: Tue, 20 Sep 2022 07:55:48 +0000 Message-ID: <53a58362fbe449bc81eaf45ab66dd28d@HIDDEN> Accept-Language: en-GB, en-US Content-Language: en-GB X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [129.240.113.222] Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-UiO-SPF-Received: Received-SPF: neutral (mail-mx11.uio.no: 129.240.52.57 is neither permitted nor denied by domain of ifi.uio.no) client-ip=129.240.52.57; envelope-from=larstvei@HIDDEN; helo=mail-ex34.exprod.uio.no; X-UiO-Spam-info: not spam, SpamAssassin (score=-5.0, required=5.0, autolearn=disabled, UIO_MAIL_IS_INTERNAL=-5) X-UiO-Scanned: 81115BB5E4F552F939818ED26920FDA04DFE66B2 X-UiOonly: 464F38DCCD0387DF932DF170533A5C1DF972301A Received-SPF: pass client-ip=2001:700:100:10::50; envelope-from=larstvei@HIDDEN; helo=mail-out01.uio.no X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.6 (-) X-Mailman-Approved-At: Tue, 20 Sep 2022 10:27:16 -0400 X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -2.6 (--) Evaluating the two following forms results in Emacs hanging: (defun test-cycle () '#1=3D(a . #1#)) (native-compile 'test-cycle) The bug has been reproduced on a system running Debian as well. - Lars =20 In GNU Emacs 29.0.50 (build 1, aarch64-apple-darwin21.6.0, NS appkit-2113.60 Version 12.6 (Build 21G115)) Windowing system distributor 'Apple', version 10.3.2113 System Description: macOS 12.6 Configured using: 'configure --prefix=3D/nix/store/wf6wjsvvs3q7k0vf3xlfzi3ik8v3601n-emacs-29.0.50 --disable-build-details --with-modules --with-ns --disable-ns-self-contained --with-native-compilation' Configured features: ACL GLIB GMP GNUTLS JPEG JSON LIBXML2 MODULES NATIVE_COMP NOTIFY KQUEUE NS PDUMPER PNG RSVG SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS ZLIB Important settings: value of $EMACSLOADPATH: /nix/store/87hrwgmnic6hhjl6p7ch30ik90dpw324-emac= s-packages-deps/share/emacs/site-lisp: value of $EMACSNATIVELOADPATH: /nix/store/87hrwgmnic6hhjl6p7ch30ik90dpw32= 4-emacs-packages-deps/share/emacs/native-lisp:: value of $LC_CTYPE: UTF-8 locale-coding-system: utf-8-unix Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t global-eldoc-mode: t eldoc-mode: t show-paren-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t line-number-mode: t indent-tabs-mode: t transient-mark-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t Load-path shadows: /nix/store/87hrwgmnic6hhjl6p7ch30ik90dpw324-emacs-packages-deps/share/emacs= /site-lisp/elpa/let-alist-1.0.6/let-alist hides /nix/store/wf6wjsvvs3q7k0vf= 3xlfzi3ik8v3601n-emacs-29.0.50/share/emacs/29.0.50/lisp/emacs-lisp/let-alis= t /nix/store/87hrwgmnic6hhjl6p7ch30ik90dpw324-emacs-packages-deps/share/emacs= /site-lisp/elpa/nadvice-0.3/nadvice hides /nix/store/wf6wjsvvs3q7k0vf3xlfzi= 3ik8v3601n-emacs-29.0.50/share/emacs/29.0.50/lisp/emacs-lisp/nadvice Features: (shadow sort mail-extr emacsbug message mailcap yank-media puny dired dired-loaddefs rfc822 mml mml-sec password-cache epa derived epg rfc6068 epg-config gnus-util text-property-search time-date mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader cl-loaddefs comp comp-cstr warnings icons subr-x rx cl-seq cl-macs gv cl-extra help-mode bytecomp byte-compile cconv cl-lib sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils rmc iso-transl tooltip eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel term/ns-win ns-win ucs-normalize mule-util term/common-win tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu timer select scroll-bar mouse jit-lock font-lock syntax font-core term/tty-colors frame minibuffer nadvice seq simple cl-generic indonesian philippine cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite emoji-zwj charscript charprop case-table epa-hook jka-cmpr-hook help abbrev obarray oclosure cl-preloaded button loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget keymap hashtable-print-readable backquote threads kqueue cocoa ns multi-tty make-network-process native-compile emacs) Memory information: ((conses 16 78425 6959) (symbols 48 7029 0) (strings 32 19124 2018) (string-bytes 1 599871) (vectors 16 16700) (vector-slots 8 325741 9902) (floats 8 27 31) (intervals 56 320 0) (buffers 1000 12))=
Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) Content-Type: text/plain; charset=utf-8 X-Loop: help-debbugs@HIDDEN From: help-debbugs@HIDDEN (GNU bug Tracking System) To: Lars Tveito <larstvei@HIDDEN> Subject: bug#57957: Acknowledgement (29.0.50; Native compilation hangs on cyclic lists) Message-ID: <handler.57957.B.16636840387516.ack <at> debbugs.gnu.org> References: <53a58362fbe449bc81eaf45ab66dd28d@HIDDEN> X-Gnu-PR-Message: ack 57957 X-Gnu-PR-Package: emacs Reply-To: 57957 <at> debbugs.gnu.org Date: Tue, 20 Sep 2022 14:28:02 +0000 Thank you for filing a new bug report with debbugs.gnu.org. This is an automatically generated reply to let you know your message has been received. Your message is being forwarded to the package maintainers and other interested parties for their attention; they will reply in due course. Your message has been sent to the package maintainer(s): bug-gnu-emacs@HIDDEN If you wish to submit further information on this problem, please send it to 57957 <at> debbugs.gnu.org. Please do not send mail to help-debbugs@HIDDEN unless you wish to report a problem with the Bug-tracking system. --=20 57957: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D57957 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems
X-Loop: help-debbugs@HIDDEN Subject: bug#57957: 29.0.50; Native compilation hangs on cyclic lists Resent-From: Lars Ingebrigtsen <larsi@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Tue, 20 Sep 2022 15:35:02 +0000 Resent-Message-ID: <handler.57957.B57957.166368804815383 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 57957 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Lars Tveito <larstvei@HIDDEN> Cc: 57957 <at> debbugs.gnu.org, Andrea Corallo <akrl@HIDDEN> Received: via spool by 57957-submit <at> debbugs.gnu.org id=B57957.166368804815383 (code B ref 57957); Tue, 20 Sep 2022 15:35:02 +0000 Received: (at 57957) by debbugs.gnu.org; 20 Sep 2022 15:34:08 +0000 Received: from localhost ([127.0.0.1]:59279 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1oafGB-000402-NO for submit <at> debbugs.gnu.org; Tue, 20 Sep 2022 11:34:07 -0400 Received: from quimby.gnus.org ([95.216.78.240]:48114) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <larsi@HIDDEN>) id 1oafG8-0003zP-Vu for 57957 <at> debbugs.gnu.org; Tue, 20 Sep 2022 11:34:05 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:Date:References: In-Reply-To:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=bvWyI/ihlK6knlsZubx8G+fB+5NgjPb4lVPpcM5BbgI=; b=gjIcjmW6rb0Z60CJNV1xjJ3WIk 36UxTdONhVlFFlNMlKZ8lWqmsyaN16qNAyBLaQBG1hIZ3/1v4ZWMDqiK/jW0bldCbwjld79TlOUKf 2oHayNnM+YnPOv+dAXc5UhikEBwp8ltbQCLZjXRKLzwO7JXYLVVvTyX9/geHOYsV5/ls=; Received: from [84.212.220.105] (helo=joga) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from <larsi@HIDDEN>) id 1oafFz-0003Kg-Ms; Tue, 20 Sep 2022 17:33:57 +0200 From: Lars Ingebrigtsen <larsi@HIDDEN> In-Reply-To: <53a58362fbe449bc81eaf45ab66dd28d@HIDDEN> (Lars Tveito's message of "Tue, 20 Sep 2022 07:55:48 +0000") References: <53a58362fbe449bc81eaf45ab66dd28d@HIDDEN> X-Now-Playing: De Ambassade's _Cold Wave Volume 2_: "Niet Van Mij" Date: Tue, 20 Sep 2022 17:33:55 +0200 Message-ID: <87pmfqawm4.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Lars Tveito <larstvei@HIDDEN> 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. Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) Lars Tveito <larstvei@HIDDEN> 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 ...
Received: (at control) by debbugs.gnu.org; 20 Sep 2022 15:34:16 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Tue Sep 20 11:34:16 2022 Received: from localhost ([127.0.0.1]:59282 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1oafGK-00040M-05 for submit <at> debbugs.gnu.org; Tue, 20 Sep 2022 11:34:16 -0400 Received: from quimby.gnus.org ([95.216.78.240]:48130) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <larsi@HIDDEN>) id 1oafGH-000405-73 for control <at> debbugs.gnu.org; Tue, 20 Sep 2022 11:34:13 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=HKgt0EvjwL9Irdz5xH3tKbJjRsDFl9FLbSOn7erN/gc=; b=I79YYrzQ1m3hO2HrEe+lqm+xyH L99GeVUfCDOVwzib6iBadJf/HzZzucrZyv96C1cV4R3ad4KtA4aJkpjfSqH4D7K8Y9IfX3B3Soc/y BcemP1XgbwS9DKFu+wg7REOxJH6I7/GOB6jd35c5Dh+hn4G9mmDlSZZjPkimwyrpPT98=; Received: from [84.212.220.105] (helo=joga) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from <larsi@HIDDEN>) id 1oafG9-0003Ks-IY for control <at> debbugs.gnu.org; Tue, 20 Sep 2022 17:34:07 +0200 Date: Tue, 20 Sep 2022 17:34:01 +0200 Message-Id: <87o7vaawly.fsf@HIDDEN> To: control <at> debbugs.gnu.org From: Lars Ingebrigtsen <larsi@HIDDEN> Subject: control message for bug #57957 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: tags 57957 + confirmed quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) tags 57957 + confirmed quit
X-Loop: help-debbugs@HIDDEN Subject: bug#57957: 29.0.50; Native compilation hangs on cyclic lists Resent-From: Andrea Corallo <akrl@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Wed, 21 Sep 2022 19:19:01 +0000 Resent-Message-ID: <handler.57957.B57957.16637879419655 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 57957 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: confirmed To: Lars Ingebrigtsen <larsi@HIDDEN> Cc: 57957 <at> debbugs.gnu.org, Lars Tveito <larstvei@HIDDEN> Received: via spool by 57957-submit <at> debbugs.gnu.org id=B57957.16637879419655 (code B ref 57957); Wed, 21 Sep 2022 19:19:01 +0000 Received: (at 57957) by debbugs.gnu.org; 21 Sep 2022 19:19:01 +0000 Received: from localhost ([127.0.0.1]:35262 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1ob5FM-0002Vc-S7 for submit <at> debbugs.gnu.org; Wed, 21 Sep 2022 15:19:01 -0400 Received: from mx.sdf.org ([205.166.94.24]:65348) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <akrl@HIDDEN>) id 1ob5FK-0002VT-S9 for 57957 <at> debbugs.gnu.org; Wed, 21 Sep 2022 15:18:59 -0400 Received: from ma.sdf.org (ma.sdf.org [205.166.94.33]) by mx.sdf.org (8.15.2/8.14.5) with ESMTPS id 28LJItgk027932 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits) verified NO); Wed, 21 Sep 2022 19:18:56 GMT From: Andrea Corallo <akrl@HIDDEN> In-Reply-To: <87pmfqawm4.fsf@HIDDEN> (Lars Ingebrigtsen's message of "Tue, 20 Sep 2022 17:33:55 +0200") References: <53a58362fbe449bc81eaf45ab66dd28d@HIDDEN> <87pmfqawm4.fsf@HIDDEN> Date: Wed, 21 Sep 2022 19:18:55 +0000 Message-ID: <xjffsgkbko0.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) Lars Ingebrigtsen <larsi@HIDDEN> writes: > Lars Tveito <larstvei@HIDDEN> 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. I see nor cl-nsubst-if nor cl-subst-if are robust against cyclic lists. Is this a bug in cl-lib or is it expected? In case I'll add an ad-hoc substitute for this use (if there's no other alternative). Andrea
X-Loop: help-debbugs@HIDDEN Subject: bug#57957: 29.0.50; Native compilation hangs on cyclic lists Resent-From: Lars Ingebrigtsen <larsi@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Thu, 22 Sep 2022 11:16:01 +0000 Resent-Message-ID: <handler.57957.B57957.166384535427523 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 57957 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: confirmed To: Andrea Corallo <akrl@HIDDEN> Cc: 57957 <at> debbugs.gnu.org, Lars Tveito <larstvei@HIDDEN>, Stefan Monnier <monnier@HIDDEN> Received: via spool by 57957-submit <at> debbugs.gnu.org id=B57957.166384535427523 (code B ref 57957); Thu, 22 Sep 2022 11:16:01 +0000 Received: (at 57957) by debbugs.gnu.org; 22 Sep 2022 11:15:54 +0000 Received: from localhost ([127.0.0.1]:36507 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1obKBN-00079q-UY for submit <at> debbugs.gnu.org; Thu, 22 Sep 2022 07:15:54 -0400 Received: from quimby.gnus.org ([95.216.78.240]:53514) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <larsi@HIDDEN>) id 1obKBK-00079Z-Vd for 57957 <at> debbugs.gnu.org; Thu, 22 Sep 2022 07:15:52 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:Date:References: In-Reply-To:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=/iWBr+U8JWhciHxyzuHlV1POdXlhVUJJi77icQxFbSM=; b=ptbXZRatkeHnQuwoUSjCIkeef4 jB5Jwr5YOI7ua68mbS9T6RTz8PLy2arvNdHZWBuRu31svEMJIaOu3LmayFBoRMkH/eGR3jvPao9+N PMgRkKlaBbI6nsicXGfDVqumprxmp8zpi0ImcQQv2EagAf1vj2JFi92ahNJ0Kb8y7lD4=; Received: from [84.212.220.105] (helo=joga) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from <larsi@HIDDEN>) id 1obKBA-00083W-3F; Thu, 22 Sep 2022 13:15:43 +0200 From: Lars Ingebrigtsen <larsi@HIDDEN> In-Reply-To: <xjffsgkbko0.fsf@HIDDEN> (Andrea Corallo's message of "Wed, 21 Sep 2022 19:18:55 +0000") References: <53a58362fbe449bc81eaf45ab66dd28d@HIDDEN> <87pmfqawm4.fsf@HIDDEN> <xjffsgkbko0.fsf@HIDDEN> Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAFVBMVEVJP0lmb5iopK/X 1NgbGCD49/f///8745hEAAAAAWJLR0QGYWa4fQAAAAd0SU1FB+YJFgsLNc25ygQAAAGHSURBVDjL ddTBjoMgEADQQdk7UHu3Q3tXSe9jwgdsa/z/X9kBwRVsJ2kaec4AExAAhNZaQQyBk3PO8s9tA9KT 9AHM+7m+HysH8LPkIdoyzIvBbiBJUgYIMKWMFDGP4VFDRDDjYx3PQBtcv2QMxwxe7Z5RAGTg0f5Y KicmWCLwDil7ApeAYxvXOFydSqVoBwLEoXn2/5NnIHsZftYzeK/b389gmy+A7W+79s8TkGpfn0G2 SwUydbcJcJwjdYTExGDdDjK3UtjLekeHZQb/QWPXu11cCdz1AFxqKSdnUA1yhiuXSyC1aqYF7FIu dzad7mc+rDUIknrkRLTVBoX0xvERRlMBn1MzhRdA2wL4yBuU8WDA9QjE05ue4qUQzyOQMPoF29m7 7kBcnGNM/Zz3lij+401gbnSGOQA/XrCLIDNotb1p7JA7vfUqgIxL0IdS6R6EsUblu3K4N8Ii2unm 266GmzLWvb27V+Cpmw3y3uPXwJcR1hGjBi6It/htOcHML0M1R1HzyzD8AZ6b4XXBm5FcAAAAJXRF WHRkYXRlOmNyZWF0ZQAyMDIyLTA5LTIyVDExOjExOjUzKzAwOjAwuM4f/wAAACV0RVh0ZGF0ZTpt b2RpZnkAMjAyMi0wOS0yMlQxMToxMTo1MyswMDowMMmTp0MAAAAASUVORK5CYII= X-Now-Playing: Carole King's _Tapestry_: "It's Too Late" Date: Thu, 22 Sep 2022 13:15:39 +0200 Message-ID: <878rmb7j8k.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Andrea Corallo <akrl@HIDDEN> writes: > I see nor cl-nsubst-if nor cl-subst-if are robust against cyclic lists. > Is this a bug in cl-lib or is it expected? In case I'll add an ad-hoc > substitute for this use (if there's no other alterna [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) Andrea Corallo <akrl@HIDDEN> writes: > I see nor cl-nsubst-if nor cl-subst-if are robust against cyclic lists. > Is this a bug in cl-lib or is it expected? In case I'll add an ad-hoc > substitute for this use (if there's no other alternative). I'm not sure -- Stefan probably knows; added to the CCs.
X-Loop: help-debbugs@HIDDEN Subject: bug#57957: 29.0.50; Native compilation hangs on cyclic lists Resent-From: Gerd =?UTF-8?Q?M=C3=B6llmann?= <gerd.moellmann@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Thu, 22 Sep 2022 12:07:02 +0000 Resent-Message-ID: <handler.57957.B57957.16638484048578 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 57957 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: confirmed To: Lars Ingebrigtsen <larsi@HIDDEN> Cc: 57957 <at> debbugs.gnu.org, Lars Tveito <larstvei@HIDDEN>, Stefan Monnier <monnier@HIDDEN>, Andrea Corallo <akrl@HIDDEN> Received: via spool by 57957-submit <at> debbugs.gnu.org id=B57957.16638484048578 (code B ref 57957); Thu, 22 Sep 2022 12:07:02 +0000 Received: (at 57957) by debbugs.gnu.org; 22 Sep 2022 12:06:44 +0000 Received: from localhost ([127.0.0.1]:36529 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1obKya-0002EG-2M for submit <at> debbugs.gnu.org; Thu, 22 Sep 2022 08:06:44 -0400 Received: from mail-ej1-f45.google.com ([209.85.218.45]:41521) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <gerd.moellmann@HIDDEN>) id 1obKyX-0002Dz-Hd for 57957 <at> debbugs.gnu.org; Thu, 22 Sep 2022 08:06:42 -0400 Received: by mail-ej1-f45.google.com with SMTP id hy2so16854569ejc.8 for <57957 <at> debbugs.gnu.org>; Thu, 22 Sep 2022 05:06:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:from:to:cc:subject:date; bh=QWIHlNy9vQNAVRp77AZi/M7fi7W4AT158wD68I0BBkw=; b=HVl3JGO/oJq3gD5TUl2PTPUSRzpxWrtaJilw4coQDBFkPzqUdPjifcK0x6BJz01pZk VlrAoxun0csAngOhdxOSIS3viZ5fg/Oa0De/hl+dimiP5+gH3XBFfyQD+BahCsDy1/Nq lbfizpAOnnnpxw/i7p8V6Dj60hes2l4fFdvSU+/sSVGyfEIPNcUvAfAj8ElPdpb8EFMw BkMCt4a9ZNsAnnjfo8/8EDRzf2i5DnB/KliR4jZg0YRKOVwRLe6l/+7LFANnwbHC85Qb eQV1fbPFcyjaCSoz/VrD0JSdPBsw+GXPIMUyeD+rAf8QiiDWy6y1MYIVeCBMkxmhXjzh lWdA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date; bh=QWIHlNy9vQNAVRp77AZi/M7fi7W4AT158wD68I0BBkw=; b=rcvQy2ccgXMdZw89ql2oL3TOTMGpkqElC4VlfYD9sGkd8+hftzuzOZzc2UyJeXmEvt eLpQiF42aIdoQ0rsrspdWG0XdkSZgDhkCDryppy5NSB5S+TudmzsDCDoJgbzrL2HokJ4 KW5UY51z0M8R50SNRfUXD4ynkASRZ8v/KbgHe9W25nkXno2wbTJQkigSA0YFlZyRSnsT OvnP7aZKMwx7lDRwsus/NdPXXb2BwAocssW7kMvPDtpXcsMsOX6IcyX/F7FseH7ZR9lG tS43HXac3vYsIhVv8pSdDXcwG/g2JMiUNyMa5pgiDBER39VjXSXyy0uvfYz7z38sDTk7 /uew== X-Gm-Message-State: ACrzQf0EXBldCrnkO/lpcvg8g/4r69nfCP1h1W2nKDC1GbIReMcY/KiV FjmfCtkFbiJ57yRYiqOP+PM= X-Google-Smtp-Source: AMsMyM5ANeMrMLyZfpubjcsg7fxjFU3HgA4mxP68OvTwImSTNgf051rD8QKVFSslQxKt2U650EX9JQ== X-Received: by 2002:a17:907:3e0b:b0:780:a882:d2fd with SMTP id hp11-20020a1709073e0b00b00780a882d2fdmr2455670ejc.564.1663848390724; Thu, 22 Sep 2022 05:06:30 -0700 (PDT) Received: from Mini.fritz.box (pd9e3680c.dip0.t-ipconnect.de. [217.227.104.12]) by smtp.gmail.com with ESMTPSA id bq17-20020a056402215100b0044e7d69091asm3535120edb.85.2022.09.22.05.06.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 22 Sep 2022 05:06:29 -0700 (PDT) From: Gerd =?UTF-8?Q?M=C3=B6llmann?= <gerd.moellmann@HIDDEN> In-Reply-To: <878rmb7j8k.fsf@HIDDEN> (Lars Ingebrigtsen's message of "Thu, 22 Sep 2022 13:15:39 +0200") References: <53a58362fbe449bc81eaf45ab66dd28d@HIDDEN> <87pmfqawm4.fsf@HIDDEN> <xjffsgkbko0.fsf@HIDDEN> <878rmb7j8k.fsf@HIDDEN> Date: Thu, 22 Sep 2022 14:06:27 +0200 Message-ID: <m2pmfn4nr0.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (darwin) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) Lars Ingebrigtsen <larsi@HIDDEN> writes: > Andrea Corallo <akrl@HIDDEN> writes: > >> I see nor cl-nsubst-if nor cl-subst-if are robust against cyclic lists. >> Is this a bug in cl-lib or is it expected? In case I'll add an ad-hoc >> substitute for this use (if there's no other alternative). > > I'm not sure -- Stefan probably knows; added to the CCs. From Common Lisp I can say that these functions expect a "tree", i.e. not a circular list.
X-Loop: help-debbugs@HIDDEN Subject: bug#57957: 29.0.50; Native compilation hangs on cyclic lists Resent-From: Stefan Monnier <monnier@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Thu, 22 Sep 2022 14:26:01 +0000 Resent-Message-ID: <handler.57957.B57957.166385674223562 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 57957 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: confirmed To: Lars Ingebrigtsen <larsi@HIDDEN> Cc: 57957 <at> debbugs.gnu.org, Lars Tveito <larstvei@HIDDEN>, Andrea Corallo <akrl@HIDDEN> Received: via spool by 57957-submit <at> debbugs.gnu.org id=B57957.166385674223562 (code B ref 57957); Thu, 22 Sep 2022 14:26:01 +0000 Received: (at 57957) by debbugs.gnu.org; 22 Sep 2022 14:25:42 +0000 Received: from localhost ([127.0.0.1]:38195 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1obN94-00067y-7u for submit <at> debbugs.gnu.org; Thu, 22 Sep 2022 10:25:42 -0400 Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:24748) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <monnier@HIDDEN>) id 1obN91-00067l-VX for 57957 <at> debbugs.gnu.org; Thu, 22 Sep 2022 10:25:41 -0400 Received: from pmg2.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 35E9780799; Thu, 22 Sep 2022 10:25:33 -0400 (EDT) Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 8149180389; Thu, 22 Sep 2022 10:25:31 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1663856731; bh=2ajUzQAX/VDS5kFfWbwrqY+z+4k3xfAcJHyEeXLy4SI=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=gGTC2U1be9WgSMP2m4xPazGMxRqU7L6zBP8Kpd0uos2k0LqGvl12H/j9PM95oFl3Y bOzlDOU9V2kqrPkcBBxOfxMaNpomZ55REGC4enanUYuE2S94ku0eY0Jgp6j5V6dhGE T/lPug/Nbl0H+Z31+AoLIXCn1psEGrPp+5w1Xomj6ggm7NsC5YvtWPg78gZQA1ouK8 LlenBM6vqDfpPPZN1GY61F1ZbVfcNLKqKZyGDaHeBCA+4+Qw5LmL/HfJftXqjuVlHl /iTFGmWLzLxqxQ0nmiaVfL506DcM0q4NVKw1SxvLX1PRMrsCU+/S1F3DQ/YJsk8r19 aFOhT1qf6osWw== Received: from lechazo (lechon.iro.umontreal.ca [132.204.27.242]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 3587C120346; Thu, 22 Sep 2022 10:25:31 -0400 (EDT) From: Stefan Monnier <monnier@HIDDEN> In-Reply-To: <878rmb7j8k.fsf@HIDDEN> (Lars Ingebrigtsen's message of "Thu, 22 Sep 2022 13:15:39 +0200") Message-ID: <jwv8rmb4hdm.fsf-monnier+emacs@HIDDEN> References: <53a58362fbe449bc81eaf45ab66dd28d@HIDDEN> <87pmfqawm4.fsf@HIDDEN> <xjffsgkbko0.fsf@HIDDEN> <878rmb7j8k.fsf@HIDDEN> Date: Thu, 22 Sep 2022 10:25:26 -0400 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-SPAM-INFO: Spam detection results: 0 ALL_TRUSTED -1 Passed through trusted hosts only via SMTP AWL 0.183 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DKIM_SIGNED 0.1 Message has a DKIM or DK signature, not necessarily valid DKIM_VALID -0.1 Message has at least one valid DKIM or DK signature DKIM_VALID_AU -0.1 Message has a valid DKIM or DK signature from author's domain X-SPAM-LEVEL: X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) Lars Ingebrigtsen [2022-09-22 13:15:39] wrote: > Andrea Corallo <akrl@HIDDEN> writes: >> I see nor cl-nsubst-if nor cl-subst-if are robust against cyclic lists. >> Is this a bug in cl-lib or is it expected? In case I'll add an ad-hoc >> substitute for this use (if there's no other alternative). > I'm not sure -- Stefan probably knows; added to the CCs. Sorry, but these functions come straight for the `cl.el` lib that was there before I started using Emacs. Stefan
X-Loop: help-debbugs@HIDDEN Subject: bug#57957: 29.0.50; Native compilation hangs on cyclic lists Resent-From: Andrea Corallo <akrl@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Thu, 22 Sep 2022 16:08:02 +0000 Resent-Message-ID: <handler.57957.B57957.16638628659551 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 57957 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: confirmed To: Gerd =?UTF-8?Q?M=C3=B6llmann?= <gerd.moellmann@HIDDEN> Cc: Lars Ingebrigtsen <larsi@HIDDEN>, Lars Tveito <larstvei@HIDDEN>, 57957 <at> debbugs.gnu.org, Stefan Monnier <monnier@HIDDEN> Received: via spool by 57957-submit <at> debbugs.gnu.org id=B57957.16638628659551 (code B ref 57957); Thu, 22 Sep 2022 16:08:02 +0000 Received: (at 57957) by debbugs.gnu.org; 22 Sep 2022 16:07:45 +0000 Received: from localhost ([127.0.0.1]:38289 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1obOjo-0002Tz-M1 for submit <at> debbugs.gnu.org; Thu, 22 Sep 2022 12:07:44 -0400 Received: from mx.sdf.org ([205.166.94.24]:55957) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <akrl@HIDDEN>) id 1obOjm-0002Tn-NA for 57957 <at> debbugs.gnu.org; Thu, 22 Sep 2022 12:07:43 -0400 Received: from ma.sdf.org (ma.sdf.org [205.166.94.33]) by mx.sdf.org (8.15.2/8.14.5) with ESMTPS id 28MG7bpF027854 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits) verified NO); Thu, 22 Sep 2022 16:07:38 GMT From: Andrea Corallo <akrl@HIDDEN> In-Reply-To: <m2pmfn4nr0.fsf@HIDDEN> ("Gerd =?UTF-8?Q?M=C3=B6llmann?="'s message of "Thu, 22 Sep 2022 14:06:27 +0200") References: <53a58362fbe449bc81eaf45ab66dd28d@HIDDEN> <87pmfqawm4.fsf@HIDDEN> <xjffsgkbko0.fsf@HIDDEN> <878rmb7j8k.fsf@HIDDEN> <m2pmfn4nr0.fsf@HIDDEN> Date: Thu, 22 Sep 2022 16:07:37 +0000 Message-ID: <xjf1qs3bdfa.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) Gerd M=C3=B6llmann <gerd.moellmann@HIDDEN> writes: > Lars Ingebrigtsen <larsi@HIDDEN> writes: > >> Andrea Corallo <akrl@HIDDEN> writes: >> >>> I see nor cl-nsubst-if nor cl-subst-if are robust against cyclic lists. >>> Is this a bug in cl-lib or is it expected? In case I'll add an ad-hoc >>> substitute for this use (if there's no other alternative). >> >> I'm not sure -- Stefan probably knows; added to the CCs. > >>From Common Lisp I can say that these functions expect a "tree", > i.e. not a circular list. Okay I tried an adhoc substitute but this is not the only place in the compiler not robust against cyclic lists, so more work will be needed. Andrea
X-Loop: help-debbugs@HIDDEN Subject: bug#57957: 29.0.50; Native compilation hangs on cyclic lists Resent-From: Gerd =?UTF-8?Q?M=C3=B6llmann?= <gerd.moellmann@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Thu, 22 Sep 2022 16:42:01 +0000 Resent-Message-ID: <handler.57957.B57957.166386487712920 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 57957 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: confirmed To: Andrea Corallo <akrl@HIDDEN> Cc: Lars Ingebrigtsen <larsi@HIDDEN>, Lars Tveito <larstvei@HIDDEN>, 57957 <at> debbugs.gnu.org, Stefan Monnier <monnier@HIDDEN> Received: via spool by 57957-submit <at> debbugs.gnu.org id=B57957.166386487712920 (code B ref 57957); Thu, 22 Sep 2022 16:42:01 +0000 Received: (at 57957) by debbugs.gnu.org; 22 Sep 2022 16:41:17 +0000 Received: from localhost ([127.0.0.1]:38383 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1obPGH-0003MK-86 for submit <at> debbugs.gnu.org; Thu, 22 Sep 2022 12:41:17 -0400 Received: from mail-ej1-f50.google.com ([209.85.218.50]:45692) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <gerd.moellmann@HIDDEN>) id 1obPGD-0003M4-44 for 57957 <at> debbugs.gnu.org; Thu, 22 Sep 2022 12:41:15 -0400 Received: by mail-ej1-f50.google.com with SMTP id dv25so22224612ejb.12 for <57957 <at> debbugs.gnu.org>; Thu, 22 Sep 2022 09:41:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:from:to:cc:subject:date; bh=8CE3m1cQYIJnWQfuimLoiFxb2Nh127e4SFdJhnI5A5M=; b=HKksrDfRb35irYkZX0TybeH8nK45r8iJS0w0DQK6jC25VtZonBXachrUsHY7HWA3JQ j7kjlLH9aAwOnPy1wtmlwEnjmCnh4M8do7wyE6sUT3VWNQUZlCxlnyhgCLhih5a5J+ns REdhNxHknjZaD37GJSpwyLOy6WXPPc+nAY+vfTe+ljBg6o7UETQj7JHDFzd/dVDTAt7a 0alexy+vH/1DBHim3M8zJ67oMofRW63lGxa4qb5y3v3Ta97tCjRmq63ScvEew8HeRxA1 Jn/pKR/F0b8UVnxio7/jvF3M5QG0gDx/MsWB+ziB1Ny7RKyMABY7TpZLhs3DabpygdF5 w1bw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date; bh=8CE3m1cQYIJnWQfuimLoiFxb2Nh127e4SFdJhnI5A5M=; b=7VGQD1h9xyjzOEm7bPfq/Kq12yS85mZNsZRuXmARaxhb73o1BF1/ckWx9trZEax7+J FjunipiKKvhuCiQ9Zj1FOXW2DBwFjJCnbmF/m2dH1l/R3s4exDE+eReH3hgeCN8KXyM5 pCBHyVvig4E/qHAjcmRtOsfJlorcNc9Xmh0gpVzffm+jqDmbE94Bh6lXpo3SU/D50JCn AYdzr0MH9DWzHhRMNiYLObdcQxFsdMb/rKCJnhwrQmWQg9qmyokrSzUsnsUWgy51Dyyp 36roZ9WMarUp/JaukX7vL9pozxFyqIIM3KIKvUqJtnQdZL2g3naWN+omKEGIlDovujXm tUUQ== X-Gm-Message-State: ACrzQf3tFDRl+jYF022tLleagYCXBMJRLkd8Nt4NRGUxXQ+sNeY7tMWk emmKI/XtoOf/X1hYjGBCxKc= X-Google-Smtp-Source: AMsMyM6e9H3DsCkyrWvpleZGSsKJfuE8eFjplqHBuNMWX1p2ySu9HWAjA3EnY3gHmnZeAScOjdRdTQ== X-Received: by 2002:a17:907:7293:b0:782:2665:aa39 with SMTP id dt19-20020a170907729300b007822665aa39mr3556462ejc.303.1663864867043; Thu, 22 Sep 2022 09:41:07 -0700 (PDT) Received: from Mini.fritz.box (pd9e3680c.dip0.t-ipconnect.de. [217.227.104.12]) by smtp.gmail.com with ESMTPSA id w8-20020a17090652c800b00780ab5a9116sm2817192ejn.211.2022.09.22.09.41.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 22 Sep 2022 09:41:06 -0700 (PDT) From: Gerd =?UTF-8?Q?M=C3=B6llmann?= <gerd.moellmann@HIDDEN> In-Reply-To: <xjf1qs3bdfa.fsf@HIDDEN> (Andrea Corallo's message of "Thu, 22 Sep 2022 16:07:37 +0000") References: <53a58362fbe449bc81eaf45ab66dd28d@HIDDEN> <87pmfqawm4.fsf@HIDDEN> <xjffsgkbko0.fsf@HIDDEN> <878rmb7j8k.fsf@HIDDEN> <m2pmfn4nr0.fsf@HIDDEN> <xjf1qs3bdfa.fsf@HIDDEN> Date: Thu, 22 Sep 2022 18:41:04 +0200 Message-ID: <m2y1ubgy5b.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (darwin) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) Andrea Corallo <akrl@HIDDEN> writes: >>>>From Common Lisp I can say that these functions expect a "tree", >> i.e. not a circular list. > > Okay I tried an adhoc substitute but this is not the only place in the > compiler not robust against cyclic lists, so more work will be needed. The question is of course also how much effort circular lists deserve in the compiler. From my point of view, not too much because they aren't very useful, in code at least. And dealing with them costs runtime. Maybe some places could use cl-list-length? That function deals with circular lists and returns nil then. We could then refuse to compile.
X-Loop: help-debbugs@HIDDEN Subject: bug#57957: 29.0.50; Native compilation hangs on cyclic lists Resent-From: Stefan Monnier <monnier@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Thu, 22 Sep 2022 17:11:01 +0000 Resent-Message-ID: <handler.57957.B57957.166386662215867 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 57957 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: confirmed To: Gerd =?UTF-8?Q?M=C3=B6llmann?= <gerd.moellmann@HIDDEN> Cc: Lars Ingebrigtsen <larsi@HIDDEN>, Lars Tveito <larstvei@HIDDEN>, 57957 <at> debbugs.gnu.org, Andrea Corallo <akrl@HIDDEN> Received: via spool by 57957-submit <at> debbugs.gnu.org id=B57957.166386662215867 (code B ref 57957); Thu, 22 Sep 2022 17:11:01 +0000 Received: (at 57957) by debbugs.gnu.org; 22 Sep 2022 17:10:22 +0000 Received: from localhost ([127.0.0.1]:38415 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1obPiP-00047r-QH for submit <at> debbugs.gnu.org; Thu, 22 Sep 2022 13:10:22 -0400 Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:64314) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <monnier@HIDDEN>) id 1obPiL-00047R-R9 for 57957 <at> debbugs.gnu.org; Thu, 22 Sep 2022 13:10:20 -0400 Received: from pmg1.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id F219C100154; Thu, 22 Sep 2022 13:10:11 -0400 (EDT) Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id 7C5C61000F8; Thu, 22 Sep 2022 13:10:10 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1663866610; bh=q5CSLYHr4CjxS6d6d3ih5RQSA4hB28zG1s5GH0QIqqc=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=dGqzvQnxvg3WaojbA9uJutTAitQ9IsdWBcZBaHWnxsST+tjtIKFE9x5dWFIJVfuLP SL8mWuvFq2ibXib6AXoQTZf05I5KSH5SzvLCk9j8T5JdFW7TzUv5eSofC1nJIWKy1m lEz2xqFtBrLiYGSECopDWWJkuW0afYxvuEXycVdLMhZ9Cz+UJqcgTw6jFtvODeIRlH xDEpGKKMhD5eTGWfAGfdDsSRO3X+GDRu+ukbH2ydhMu05BfYqOFy8SvvxKzXpFChgZ UWwESEUF9WUCCzgh8r9AOA7wqq1SJrR8x54J2cIk7KM2/7GFDrywEn7eVD1OaLqc5L Rduk2qklmJ/yQ== Received: from lechazo (lechon.iro.umontreal.ca [132.204.27.242]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 62F43120839; Thu, 22 Sep 2022 13:10:10 -0400 (EDT) From: Stefan Monnier <monnier@HIDDEN> In-Reply-To: <m2y1ubgy5b.fsf@HIDDEN> ("Gerd =?UTF-8?Q?M=C3=B6llmann?="'s message of "Thu, 22 Sep 2022 18:41:04 +0200") Message-ID: <jwvzger1gpb.fsf-monnier+emacs@HIDDEN> References: <53a58362fbe449bc81eaf45ab66dd28d@HIDDEN> <87pmfqawm4.fsf@HIDDEN> <xjffsgkbko0.fsf@HIDDEN> <878rmb7j8k.fsf@HIDDEN> <m2pmfn4nr0.fsf@HIDDEN> <xjf1qs3bdfa.fsf@HIDDEN> <m2y1ubgy5b.fsf@HIDDEN> Date: Thu, 22 Sep 2022 13:10:09 -0400 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-SPAM-INFO: Spam detection results: 0 ALL_TRUSTED -1 Passed through trusted hosts only via SMTP AWL 0.167 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DKIM_SIGNED 0.1 Message has a DKIM or DK signature, not necessarily valid DKIM_VALID -0.1 Message has at least one valid DKIM or DK signature DKIM_VALID_AU -0.1 Message has a valid DKIM or DK signature from author's domain X-SPAM-LEVEL: X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > The question is of course also how much effort circular lists deserve in > the compiler. From my point of view, not too much because they aren't > very useful, in code at least. And dealing with them costs runtime. Circular data structures are perfectly normal in source code under a `quote` but the code itself should never be cyclic (so I think it would be OK to signal an error (and/or to inf-loop) when asked to compile a chunk of code that has a cycle). So we *should* handle circular data structures correctly. Note: I don't know why we'd need/want to do a `subst-if` inside a `quote` and haven't looked at this bug or at the `comp.el` code to know what we're really talking about. Stefan
X-Loop: help-debbugs@HIDDEN Subject: bug#57957: 29.0.50; Native compilation hangs on cyclic lists Resent-From: Andrea Corallo <akrl@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Thu, 22 Sep 2022 22:40:02 +0000 Resent-Message-ID: <handler.57957.B57957.166388636914789 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 57957 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: confirmed To: Stefan Monnier <monnier@HIDDEN> Cc: Gerd =?UTF-8?Q?M=C3=B6llmann?= <gerd.moellmann@HIDDEN>, Lars Ingebrigtsen <larsi@HIDDEN>, Lars Tveito <larstvei@HIDDEN>, 57957 <at> debbugs.gnu.org Received: via spool by 57957-submit <at> debbugs.gnu.org id=B57957.166388636914789 (code B ref 57957); Thu, 22 Sep 2022 22:40:02 +0000 Received: (at 57957) by debbugs.gnu.org; 22 Sep 2022 22:39:29 +0000 Received: from localhost ([127.0.0.1]:38755 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1obUqu-0003qT-SS for submit <at> debbugs.gnu.org; Thu, 22 Sep 2022 18:39:29 -0400 Received: from mx.sdf.org ([205.166.94.24]:62404) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <akrl@HIDDEN>) id 1obUqt-0003qH-CZ for 57957 <at> debbugs.gnu.org; Thu, 22 Sep 2022 18:39:28 -0400 Received: from ma.sdf.org (ma.sdf.org [205.166.94.33]) by mx.sdf.org (8.15.2/8.14.5) with ESMTPS id 28MMdMXi013820 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits) verified NO); Thu, 22 Sep 2022 22:39:22 GMT From: Andrea Corallo <akrl@HIDDEN> In-Reply-To: <jwvzger1gpb.fsf-monnier+emacs@HIDDEN> (Stefan Monnier's message of "Thu, 22 Sep 2022 13:10:09 -0400") References: <53a58362fbe449bc81eaf45ab66dd28d@HIDDEN> <87pmfqawm4.fsf@HIDDEN> <xjffsgkbko0.fsf@HIDDEN> <878rmb7j8k.fsf@HIDDEN> <m2pmfn4nr0.fsf@HIDDEN> <xjf1qs3bdfa.fsf@HIDDEN> <m2y1ubgy5b.fsf@HIDDEN> <jwvzger1gpb.fsf-monnier+emacs@HIDDEN> Date: Thu, 22 Sep 2022 22:39:22 +0000 Message-ID: <xjfwn9v9gpx.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) Stefan Monnier <monnier@HIDDEN> writes: >> The question is of course also how much effort circular lists deserve in >> the compiler. From my point of view, not too much because they aren't >> very useful, in code at least. And dealing with them costs runtime. > > Circular data structures are perfectly normal in source code under > a `quote` but the code itself should never be cyclic (so I think it > would be OK to signal an error (and/or to inf-loop) when asked to > compile a chunk of code that has a cycle). So we *should* handle > circular data structures correctly. I agree, Saturday I should have some time to look into this. Andrea
X-Loop: help-debbugs@HIDDEN Subject: bug#57957: 29.0.50; Native compilation hangs on cyclic lists Resent-From: "Basil L. Contovounesios" <contovob@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Sun, 25 Sep 2022 10:03:02 +0000 Resent-Message-ID: <handler.57957.B57957.166410016022490 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 57957 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: confirmed To: Gerd =?UTF-8?Q?M=C3=B6llmann?= <gerd.moellmann@HIDDEN> Cc: Lars Ingebrigtsen <larsi@HIDDEN>, Lars Tveito <larstvei@HIDDEN>, 57957 <at> debbugs.gnu.org, Stefan Monnier <monnier@HIDDEN>, Andrea Corallo <akrl@HIDDEN> Received: via spool by 57957-submit <at> debbugs.gnu.org id=B57957.166410016022490 (code B ref 57957); Sun, 25 Sep 2022 10:03:02 +0000 Received: (at 57957) by debbugs.gnu.org; 25 Sep 2022 10:02:40 +0000 Received: from localhost ([127.0.0.1]:45895 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1ocOTA-0005qg-8w for submit <at> debbugs.gnu.org; Sun, 25 Sep 2022 06:02:40 -0400 Received: from mail-wm1-f47.google.com ([209.85.128.47]:44843) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <contovob@HIDDEN>) id 1ocOT5-0005qN-24 for 57957 <at> debbugs.gnu.org; Sun, 25 Sep 2022 06:02:38 -0400 Received: by mail-wm1-f47.google.com with SMTP id k3-20020a05600c1c8300b003b4fa1a85f8so2164967wms.3 for <57957 <at> debbugs.gnu.org>; Sun, 25 Sep 2022 03:02:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tcd.ie; s=google21; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:from:to:cc:subject:date; bh=2rN+9rzpnCrXr3SGCAVC9S3DkDHc2DzZICz5JjEXsQY=; b=gKYeXXN4CzpvQcEPoZbv6X1coNfq1mUzOVcEAKdLJ7C5anIv99dtTg7QX7aA0nDE1H VobZChfWB7YjdV0sDcqrXzTatXaQUmMSs+1Zwg+7RanKuoZMYxls6pElCJ0976kiv/gp PK3G1zgA3nlAEkvIphbY85l0SLpSeaIIz+6Iur06jREr9dMftKzr4LCfMkgKjc7wrqQn HeW3WEehhKrlEu2D/LD0wepRjmagYZ+mDvbH0GMZ5Gw7aVyG/H1RUv1/oZ+KUa//QuXc nh8yHkcg7MC0ak3ERaywTI0HW9HgUcsgKM3Zx1nlynoY+/ZjeaQ/qsBU28EGaA7iOS9M rrRQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:x-gm-message-state:from :to:cc:subject:date; bh=2rN+9rzpnCrXr3SGCAVC9S3DkDHc2DzZICz5JjEXsQY=; b=vPN4i3TmVPHygE6dQQw+W2/p0ZIr5oG/IDH1lG1vlI7TOjFJZTlazUQehkVLuGoSH9 vmQYhzyhkQaPWLSmKfOnsIqNcBysedICkZ2rL2MkwDM2rz1WsBdecn/rU2iNM9yeV7ds egiCvS6YX+yaDCn79qKHNX4in/n5SH7loP61Mvd9pmqgduw3pnABF+lVZHU0+w91uHu8 DxabDNthmP0+B+noy5uo8xL+xk0PbH/fUin3w7UqSEnMkXCTLp+JES5ZrOTatD7rB3QC LhB9u+W2MPfkkMZvIBFn4rj6t6CB+V1ion+Chnv+xHLKkHoMXQSVL5tr+xACFMkrcWLJ lOGw== X-Gm-Message-State: ACrzQf3Zb5p5eu0hxykXeQW3XgUgE6ixyLHxiLDigUUj4LdJhcDDbLH/ IQ2bWiJAAmQAtzAR5st6Iytwbw== X-Google-Smtp-Source: AMsMyM4DecYQjCGXOwwS6Cz7krTRO9a3YnrWI99cHPFmuCiKr/ohuPeYiUA+nYTzorypYRjiii5vtA== X-Received: by 2002:a7b:cb41:0:b0:3b3:34d6:189f with SMTP id v1-20020a7bcb41000000b003b334d6189fmr18481276wmj.6.1664100149199; Sun, 25 Sep 2022 03:02:29 -0700 (PDT) Received: from localhost ([2a02:587:326b:1c58:2993:7932:1758:7a50]) by smtp.gmail.com with ESMTPSA id n32-20020a05600c502000b003a531c7aa66sm7753327wmr.1.2022.09.25.03.02.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 25 Sep 2022 03:02:28 -0700 (PDT) From: "Basil L. Contovounesios" <contovob@HIDDEN> In-Reply-To: <m2y1ubgy5b.fsf@HIDDEN> ("Gerd =?UTF-8?Q?M=C3=B6llmann?="'s message of "Thu, 22 Sep 2022 18:41:04 +0200") References: <53a58362fbe449bc81eaf45ab66dd28d@HIDDEN> <87pmfqawm4.fsf@HIDDEN> <xjffsgkbko0.fsf@HIDDEN> <878rmb7j8k.fsf@HIDDEN> <m2pmfn4nr0.fsf@HIDDEN> <xjf1qs3bdfa.fsf@HIDDEN> <m2y1ubgy5b.fsf@HIDDEN> Date: Sun, 25 Sep 2022 13:02:27 +0300 Message-ID: <87edvzkc0c.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) Gerd M=C3=B6llmann [2022-09-22 18:41 +0200] wrote: > Maybe some places could use cl-list-length? That function deals with > circular lists and returns nil then. We could then refuse to compile. Since Emacs 27 we also have proper-list-p for this. --=20 Basil
Received: (at control) by debbugs.gnu.org; 26 Dec 2023 16:08:32 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Tue Dec 26 11:08:32 2023 Received: from localhost ([127.0.0.1]:54795 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1rI9yo-0002GT-Qe for submit <at> debbugs.gnu.org; Tue, 26 Dec 2023 11:08:31 -0500 Received: from mail-lf1-x129.google.com ([2a00:1450:4864:20::129]:46465) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <stefankangas@HIDDEN>) id 1rI9yl-0002FR-Sw for control <at> debbugs.gnu.org; Tue, 26 Dec 2023 11:08:28 -0500 Received: by mail-lf1-x129.google.com with SMTP id 2adb3069b0e04-50e77a2805fso1308948e87.1 for <control <at> debbugs.gnu.org>; Tue, 26 Dec 2023 08:08:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1703606903; x=1704211703; darn=debbugs.gnu.org; h=cc:to:subject:message-id:date:mime-version:references:in-reply-to :from:from:to:cc:subject:date:message-id:reply-to; bh=lruqcY1h/sZ5iZOpridzwUMFdqm5R0PSiZYaU5yjFRc=; b=g46zJ1XxtCJJWoFLSDy6x0HjSpJrkbunnS8v2COhDRgnMapt9ADkntFMueVkj63YBP IedxQMNfA51j4v2f7O6VVk5dRvnF6fSqFyki5D74fHUhWnNv3UagDV4wHhk18PIgjEo6 v1vfb0oNui78adwGXE7kF6eWhR/Rcah0wkwVifg2+KdbjIwQjN7fYxRpk8+6fRtl2d0p QxXvZaHvebkAf+MZKwPUkt2XsdOpmRfppKuYpPUDjM3wnEPUxnsj7qT4z3R9RkCt7/CJ ZVs8xwVT18YG/WmXYQhFuz49b3/wsdDWO5tPJUeFA+Rev3MFw9gz0r9frrHzHLu6srjp 9mHQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1703606903; x=1704211703; h=cc:to:subject:message-id:date:mime-version:references:in-reply-to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=lruqcY1h/sZ5iZOpridzwUMFdqm5R0PSiZYaU5yjFRc=; b=jwwBuiusTHTEEK1/YgN3zqDGQI59XVn095/QKNYPD8oveo9KIItLLOzkQBJ3Hc/fab Bac9/WnC0mj+Tiw/yi1VCShwAz7XNtlWtvLfOGV3LT104SROdYMWPSNFoltHMqueLVF+ Cog+Me7pwnLopubk3UMaS39lQp99gW+3W7jtkhaForoOZe9Jde/gmIp9ilHLPIs2h6IP gu7edGP/XXCus+bXBd2rgY+eMaa/PA39hs0U2AzFW2+tasc3QmcjfoCLLrwVttEEx6sM jHVHc2/hHNSweuIpabv+tDd2WW0FoMrp2kPFkKeyD3RPKnYDWeOKsFvk5CPEPDHZh8YF QzNg== X-Gm-Message-State: AOJu0YxSigdDsKA84OPuI1jRKJh2JTDhAeNjYA0LiGt/WR+Y38eHovR2 wTtEAxcGpIoogjMW6k2JI1NkVPK78uY1iyWl5wrh6b+wCuI= X-Google-Smtp-Source: AGHT+IE7IR5WymzfQ9SW27D/Su5X256ghgvLCQPmjMhPLQTK6zAMe1zkdPR2Ds/KUNOgd0MlFsBBBkEuRP2h8d0Jmbw= X-Received: by 2002:aa7:cad2:0:b0:553:2e38:add0 with SMTP id l18-20020aa7cad2000000b005532e38add0mr3886011edt.39.1703604977170; Tue, 26 Dec 2023 07:36:17 -0800 (PST) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Tue, 26 Dec 2023 09:36:16 -0600 From: Stefan Kangas <stefankangas@HIDDEN> In-Reply-To: <yp1edf9z82c.fsf@HIDDEN> References: <87a5q7bc2f.fsf@HIDDEN> <yp1v88uz7bh.fsf@HIDDEN> <yp1r0jiz5fb.fsf@HIDDEN> <CADwFkmm0oSEoju7WTkzhe2Sz8g9wyRQjTZN9Ua=FgJ7a0t_UkQ@HIDDEN> <yp1edf9z82c.fsf@HIDDEN> MIME-Version: 1.0 Date: Tue, 26 Dec 2023 09:36:16 -0600 Message-ID: <CADwFkmnGoXJci_MHLJksVvrd0bu3qxu+YK4cPe3=ZjoFjTsMDQ@HIDDEN> Subject: Re: bug#67883: 29.1.90; Native compiler hangs when compiling code with circular objects To: Andrea Corallo <acorallo@HIDDEN> Content-Type: text/plain; charset="UTF-8" Bcc: control <at> debbugs.gnu.org X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: control Cc: 67883 <at> debbugs.gnu.org, hokomo@HIDDEN X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) forcemerge 57957 67883 thanks Andrea Corallo <acorallo@HIDDEN> writes: > Stefan Kangas <stefankangas@HIDDEN> writes: > >> Andrea Corallo <acorallo@HIDDEN> writes: >> >>> Okay I believe this most likely is a duplicate of bug#57957. >> >> Should the bugs be merged? > > Hi Stefan, > > yes I think so. > > Andrea Done.
Received: (at control) by debbugs.gnu.org; 18 Mar 2024 19:57:07 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Mon Mar 18 15:57:07 2024 Received: from localhost ([127.0.0.1]:40376 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1rmJ6X-0004jb-G1 for submit <at> debbugs.gnu.org; Mon, 18 Mar 2024 15:57:07 -0400 Received: from eggs.gnu.org ([209.51.188.92]:44074) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <acorallo@HIDDEN>) id 1rmJ6S-0004iy-IP for control <at> debbugs.gnu.org; Mon, 18 Mar 2024 15:57:03 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <acorallo@HIDDEN>) id 1rmJ5j-0004xw-Sf for control <at> debbugs.gnu.org; Mon, 18 Mar 2024 15:56:15 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:Subject:To:From:in-reply-to: references; bh=47AjUxpiqYwK+JqCrpWvQLueWOuG2oa6j0Z1r6wtpvo=; b=A6WmT8gJ6hOFJE hD4w+dsgZIX+sCW3cn6E6EMSXQy5CnsgvZIc3hgZC+0UlKhRE/4eqfSJgqgBWEe/lPGno8SE5i161 vAVdlzTRQkVNcNFyeK9M0xR0v73uCszRF3N6WZyt1B9t3xgi3vbbhAcFXrGwW1abtcL9ctZq4Yg9I VmZx6oaW54WrhrLyi1JUNv1ilUwzuW4wV+fwaNZpX4CZ9iYayNd0ItFk2AUMS4ySHdljwZFHcRbrV qd3Zfua8Da4oqCDdt9+wCJgpkuRXQonZYDzsTFgKrEkvgO6wz0i4ekzCqIerFuWTQlvAvEEZeF7y6 tJCjtj1mEXtCr54KYVfA==; Received: from acorallo by fencepost.gnu.org with local (Exim 4.90_1) (envelope-from <acorallo@HIDDEN>) id 1rmJ5H-0005Tm-7C for control <at> debbugs.gnu.org; Mon, 18 Mar 2024 15:56:13 -0400 From: Andrea Corallo <acorallo@HIDDEN> To: control <at> debbugs.gnu.org Subject: Date: Mon, 18 Mar 2024 15:55:44 -0400 Message-ID: <yp1msqvtiv3.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.3 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.3 (-) forcemerge 69872 67883 thanks
X-Loop: help-debbugs@HIDDEN Subject: bug#57957: bug#69872: 29.2; Async native compilation of seq.el test uses up resources and hangs Resent-From: Andrea Corallo <acorallo@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Sun, 24 Mar 2024 11:28:02 +0000 Resent-Message-ID: <handler.57957.B57957.17112796719737 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 57957 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: confirmed To: Andrea Corallo <akrl@HIDDEN> Cc: Lars Tveito <larstvei@HIDDEN>, hokomo <hokomo@HIDDEN>, Gerd =?UTF-8?Q?M=C3=B6llmann?= <gerd.moellmann@HIDDEN>, 57957 <at> debbugs.gnu.org, Stefan Monnier <monnier@HIDDEN>, 69872 <at> debbugs.gnu.org, Lars Ingebrigtsen <larsi@HIDDEN> Received: via spool by 57957-submit <at> debbugs.gnu.org id=B57957.17112796719737 (code B ref 57957); Sun, 24 Mar 2024 11:28:02 +0000 Received: (at 57957) by debbugs.gnu.org; 24 Mar 2024 11:27:51 +0000 Received: from localhost ([127.0.0.1]:50552 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1roM10-0002Wt-Or for submit <at> debbugs.gnu.org; Sun, 24 Mar 2024 07:27:51 -0400 Received: from eggs.gnu.org ([209.51.188.92]:52278) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <acorallo@HIDDEN>) id 1roM0x-0002WK-Ne; Sun, 24 Mar 2024 07:27:49 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <acorallo@HIDDEN>) id 1roM08-0004TM-IY; Sun, 24 Mar 2024 07:26:57 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=Otgr3gWtza0r+KUjHnMbkKQ3r21JkoNsh78pyM0nvXM=; b=kBBJy2UZeWCgEp+uPW9M 2mO3+dl5soevvODvzOrTiEh2S9C7nm8BxgtnNr+J3o54W5n3IL6uiHugZykp7lHe4UGXeqNfMDq93 yyHfA/biNe7qnbGh+ax59QEuZPAZIxM8j2cY6dy9SZtMtijgoPyezJJIdFnHRJnJKJwkIxRRW7KsZ zYQL+HJanOa3F183LfUD6vpQgWygCVNQQ5GIQgRvIn+htr07gz4YnYCNW0G8JedhFcwACLFNSl6RN f/0Xz3LJZ7caxRfajYB9WqLNiCnA7YEMaWefdx6r7QvFNLpJGoi8Wsr9hBHZZed8vTxEgE41aCZTc j1Wr6TGMowFWew==; Received: from acorallo by fencepost.gnu.org with local (Exim 4.90_1) (envelope-from <acorallo@HIDDEN>) id 1roM06-0005Oy-La; Sun, 24 Mar 2024 07:26:56 -0400 From: Andrea Corallo <acorallo@HIDDEN> In-Reply-To: <xjfwn9v9gpx.fsf@HIDDEN> (Andrea Corallo's message of "Thu, 22 Sep 2022 22:39:22 +0000") References: <53a58362fbe449bc81eaf45ab66dd28d@HIDDEN> <87pmfqawm4.fsf@HIDDEN> <xjffsgkbko0.fsf@HIDDEN> <878rmb7j8k.fsf@HIDDEN> <m2pmfn4nr0.fsf@HIDDEN> <xjf1qs3bdfa.fsf@HIDDEN> <m2y1ubgy5b.fsf@HIDDEN> <jwvzger1gpb.fsf-monnier+emacs@HIDDEN> <xjfwn9v9gpx.fsf@HIDDEN> Date: Sun, 24 Mar 2024 07:26:52 -0400 Message-ID: <yp1v85brhtv.fsf_-_@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) Andrea Corallo <akrl@HIDDEN> writes: > Stefan Monnier <monnier@HIDDEN> writes: > >>> The question is of course also how much effort circular lists deserve in >>> the compiler. From my point of view, not too much because they aren't >>> very useful, in code at least. And dealing with them costs runtime. >> >> Circular data structures are perfectly normal in source code under >> a `quote` but the code itself should never be cyclic (so I think it >> would be OK to signal an error (and/or to inf-loop) when asked to >> compile a chunk of code that has a cycle). So we *should* handle >> circular data structures correctly. > > I agree, Saturday I should have some time to look into this. A little time after... I finally managed to get to it, sorry for the delay. I've pushed into master c5de73a95a6, it fixes my reprodurer here and adds a test for this. If anyone could confirm this is fixed i'll be (extremely) happy to close this :) Thanks Andrea
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.