From unknown Tue Jun 17 01:47:42 2025 X-Loop: help-debbugs@gnu.org Subject: bug#55355: TBD: inappropriate inlining, cmacro errors Resent-From: Ivan Sokolov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 10 May 2022 22:58:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 55355 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 55355@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16522234534672 (code B ref -1); Tue, 10 May 2022 22:58:02 +0000 Received: (at submit) by debbugs.gnu.org; 10 May 2022 22:57:33 +0000 Received: from localhost ([127.0.0.1]:35384 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1noYnN-0001DI-B0 for submit@debbugs.gnu.org; Tue, 10 May 2022 18:57:33 -0400 Received: from lists.gnu.org ([209.51.188.17]:49892) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1noYnL-0001DA-Iq for submit@debbugs.gnu.org; Tue, 10 May 2022 18:57:32 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49262) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1noYnL-0001MG-97 for bug-gnu-emacs@gnu.org; Tue, 10 May 2022 18:57:31 -0400 Received: from forward103o.mail.yandex.net ([37.140.190.177]:53946) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1noYnI-0008L2-SQ for bug-gnu-emacs@gnu.org; Tue, 10 May 2022 18:57:30 -0400 Received: from myt6-ecec3fffc7db.qloud-c.yandex.net (myt6-ecec3fffc7db.qloud-c.yandex.net [IPv6:2a02:6b8:c12:4681:0:640:ecec:3fff]) by forward103o.mail.yandex.net (Yandex) with ESMTP id 74F8310A956F for ; Wed, 11 May 2022 01:57:23 +0300 (MSK) Received: from myt5-89cdf5c4a3a5.qloud-c.yandex.net (myt5-89cdf5c4a3a5.qloud-c.yandex.net [2a02:6b8:c12:289b:0:640:89cd:f5c4]) by myt6-ecec3fffc7db.qloud-c.yandex.net (mxback/Yandex) with ESMTP id ELkrFUnl1G-vNg4eDav; Wed, 11 May 2022 01:57:23 +0300 X-Yandex-Fwd: 2 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ya.ru; s=mail; t=1652223443; bh=2g4RueWSPB5kKcOwRcWQOYdo4ZWh6r6XK8Y4BArEECE=; h=Date:Subject:To:From:Message-ID; b=vZd0A8K3tpZH8kADnP5VLL15CSzZxcrnpqVUUfdcNFh0vvR/LSfwfebzaW/RUhf5Y 7pxzWZoOZxFHkaeK6g08/w8E698MWI2peih2uhvo0pNYT5JbPmVD++5hQBIy5f/v6u dimjaSaU9RFs2tPzQ3ByayyrVzL9vxtA02XqPWzI= Authentication-Results: myt6-ecec3fffc7db.qloud-c.yandex.net; dkim=pass header.i=@ya.ru Received: by myt5-89cdf5c4a3a5.qloud-c.yandex.net (smtp/Yandex) with ESMTPSA id 8iMj4qBnoE-vMN4cD3S; Wed, 11 May 2022 01:57:22 +0300 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (Client certificate not present) From: Ivan Sokolov Date: Wed, 11 May 2022 01:57:17 +0300 Message-ID: <87h75xnghe.fsf@ya.ru> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=37.140.190.177; envelope-from=ivan-p-sokolov@ya.ru; helo=forward103o.mail.yandex.net X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.2 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) Hi all! I encountered inlining errors, unfortunately I have no idea what is causing them. Here is the code: (cl-defstruct (foo (:constructor foo<-list ((bar _ baz)))) bar baz) (foo<-list '(1 2 3)) ; does not work (funcall #'foo<-list '(1 2 3)) ; does not work (apply #'foo<-list '(1 2 3) nil) ; does work Here is the backtrace: Debugger entered--Lisp error: (wrong-number-of-arguments foo<-list--cmacro 2) signal(wrong-number-of-arguments (foo<-list--cmacro 2)) (if (= (length --cl-rest--) 3) (pop --cl-rest--) (signal 'wrong-number-of-arguments (list 'foo<-list--cmacro (length --cl-rest--)))) (let* ((--cl-rest-- (if (= (length --cl-rest--) 1) (car --cl-rest--) (signal 'wrong-number-of-arguments (list 'foo<-list--cmacro (length --cl-rest--))))) (bar (if (= (length --cl-rest--) 3) (pop --cl-rest--) (signal 'wrong-number-of-arguments (list 'foo<-list--cmacro (length --cl-rest--))))) (_ (pop --cl-rest--)) (baz (car --cl-rest--))) (cl-block foo<-list--cmacro (cl--defsubst-expand '(bar _ baz) '(cl-block foo<-list (record 'foo bar baz)) nil nil nil bar _ baz))) foo<-list--cmacro((foo<-list '(1 2 3)) '(1 2 3)) apply(foo<-list--cmacro (foo<-list '(1 2 3)) '(1 2 3)) macroexp--compiler-macro(foo<-list--cmacro (foo<-list '(1 2 3))) #f(compiled-function (form func) #)(((foo<-list '(1 2 3))) foo<-list) macroexp--expand-all((foo<-list '(1 2 3))) macroexp--all-forms((progn (foo<-list '(1 2 3))) 1) #f(compiled-function (form func) #)(((progn (foo<-list '(1 2 3)))) progn) macroexp--expand-all((progn (foo<-list '(1 2 3)))) macroexpand-all((progn (foo<-list '(1 2 3)))) elisp--eval-last-sexp(nil) eval-last-sexp(nil) funcall-interactively(eval-last-sexp nil) call-interactively(eval-last-sexp nil nil) command-execute(eval-last-sexp) Affected versions: GNU Emacs 28.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.24, cairo version 1.16.0) GNU Emacs 28.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.33, cairo version 1.17.6) of 2022-04-28 From unknown Tue Jun 17 01:47:42 2025 X-Loop: help-debbugs@gnu.org Subject: bug#55355: TBD: inappropriate inlining, cmacro errors Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 11 May 2022 12:11:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 55355 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Ivan Sokolov Cc: 55355@debbugs.gnu.org, Stefan Monnier Received: via spool by 55355-submit@debbugs.gnu.org id=B55355.165227106230290 (code B ref 55355); Wed, 11 May 2022 12:11:02 +0000 Received: (at 55355) by debbugs.gnu.org; 11 May 2022 12:11:02 +0000 Received: from localhost ([127.0.0.1]:36360 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nolBA-0007sJ-5L for submit@debbugs.gnu.org; Wed, 11 May 2022 08:11:01 -0400 Received: from quimby.gnus.org ([95.216.78.240]:40494) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nolB8-0007s4-GN for 55355@debbugs.gnu.org; Wed, 11 May 2022 08:10:55 -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:In-Reply-To:Date: References: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=ICVF4MpbtfW/hjyEKiXd6+nvs+XN/7pZgB/tc5riPXc=; b=bpv9KjfeArcOH4c4WqHHCQTW2+ drB/mItso4hVGnImmja7fQE1yQzfiIpapqPq3xhjxrQHgJeeP0KSP2XDIKFahlnD1zaehNU0Zs7k9 i458zjSklbUwlRNT/usAkpX5WIvI8yPDwTxaFj/9gwgEszODqPUN0XQt/UqrhyP3ToY4=; Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nolAz-0007yr-G0; Wed, 11 May 2022 14:10:47 +0200 From: Lars Ingebrigtsen References: <87h75xnghe.fsf@ya.ru> X-Now-Playing: Joni Mitchell's _Night Ride Home_: "Ray's Dad's Cadillac" Date: Wed, 11 May 2022 14:10:44 +0200 In-Reply-To: <87h75xnghe.fsf@ya.ru> (Ivan Sokolov's message of "Wed, 11 May 2022 01:57:17 +0300") Message-ID: <87a6bob77f.fsf@gnus.org> 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: (What does "TBD" mean here? To be decided?) Ivan Sokolov writes: > Hi all! I encountered inlining errors, unfortunately I have no idea what > is causing them. > > Here is the code: > > (cl-defstruct (foo (:constructor foo<-list ((bar _ baz)))) > bar > baz) > > (foo [...] 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@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) (What does "TBD" mean here? To be decided?) Ivan Sokolov writes: > Hi all! I encountered inlining errors, unfortunately I have no idea what > is causing them. > > Here is the code: > > (cl-defstruct (foo (:constructor foo<-list ((bar _ baz)))) > bar > baz) > > (foo<-list '(1 2 3)) ; does not work > > (funcall #'foo<-list '(1 2 3)) ; does not work > > (apply #'foo<-list '(1 2 3) nil) ; does work > > Here is the backtrace: > > Debugger entered--Lisp error: (wrong-number-of-arguments foo<-list--cmacro 2) > signal(wrong-number-of-arguments (foo<-list--cmacro 2)) Perhaps Stefan has some comments; added to the CCs. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From unknown Tue Jun 17 01:47:42 2025 X-Loop: help-debbugs@gnu.org Subject: bug#55355: TBD: inappropriate inlining, cmacro errors Resent-From: Ivan Sokolov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 11 May 2022 18:21:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 55355 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Lars Ingebrigtsen Cc: 55355@debbugs.gnu.org, Stefan Monnier Received: via spool by 55355-submit@debbugs.gnu.org id=B55355.165229325413811 (code B ref 55355); Wed, 11 May 2022 18:21:02 +0000 Received: (at 55355) by debbugs.gnu.org; 11 May 2022 18:20:54 +0000 Received: from localhost ([127.0.0.1]:38411 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1noqxB-0003ah-UQ for submit@debbugs.gnu.org; Wed, 11 May 2022 14:20:54 -0400 Received: from forward501j.mail.yandex.net ([5.45.198.251]:33968) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1noqx9-0003aL-Kl for 55355@debbugs.gnu.org; Wed, 11 May 2022 14:20:52 -0400 Received: from sas1-bf48a613a597.qloud-c.yandex.net (sas1-bf48a613a597.qloud-c.yandex.net [IPv6:2a02:6b8:c14:3327:0:640:bf48:a613]) by forward501j.mail.yandex.net (Yandex) with ESMTP id F0D6262342A; Wed, 11 May 2022 21:20:43 +0300 (MSK) Received: from sas2-1cbd504aaa99.qloud-c.yandex.net (sas2-1cbd504aaa99.qloud-c.yandex.net [2a02:6b8:c14:7101:0:640:1cbd:504a]) by sas1-bf48a613a597.qloud-c.yandex.net (mxback/Yandex) with ESMTP id Y1Jzobd6MS-KhgWj7PR; Wed, 11 May 2022 21:20:43 +0300 X-Yandex-Fwd: 2 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ya.ru; s=mail; t=1652293243; bh=NZputs0SERgwYRtR344xwv8TkkHdURwMCttzCzKQ7K8=; h=Subject:In-Reply-To:CC:To:From:References:Date:Message-ID; b=TwcDUQWQ/G1DYvWBsERrn9ZDCxTYsofZ6vsKOv5TLsKvBGgFkAZrjRKoYjjRZACpJ Yiy+1DtPzXCRVABoV3FT7SYJctR0wWFB6M/ReCIP/9HJwoOGq0nHsTraRhJaLE2zvt kg9tt0ARgPBSLYmzT0phzMDPfcyE2fzGxe9XjBCM= Authentication-Results: sas1-bf48a613a597.qloud-c.yandex.net; dkim=pass header.i=@ya.ru Received: by sas2-1cbd504aaa99.qloud-c.yandex.net (smtp/Yandex) with ESMTPSA id jW6BQPZa6B-KgMub5Dl; Wed, 11 May 2022 21:20:43 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client certificate not present) Date: Wed, 11 May 2022 18:20:41 +0000 From: Ivan Sokolov In-Reply-To: <87a6bob77f.fsf@gnus.org> References: <87h75xnghe.fsf@ya.ru> <87a6bob77f.fsf@gnus.org> Message-ID: 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@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) On May 11, 2022 12:10:44 PM UTC, Lars Ingebrigtsen wrot= e: >(What does "TBD" mean here? To be decided?) Yeah, to be discussed or decided, I am sure there are a better name for th= e issue=2E I asked my friends to test the code and they had even more interesting res= ults: (foo<-list (1 2 3)) ; works, no quote (funcall #'foo<-list (1 2 3)) ; works, no quote Version: GNU Emacs 29=2E0=2E50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3=2E24= =2E30, cairo version 1=2E16=2E0) Commit: 734f0f68a492f999a307e1cfa6f1cd7df408333f From unknown Tue Jun 17 01:47:42 2025 X-Loop: help-debbugs@gnu.org Subject: bug#55355: TBD: inappropriate inlining, cmacro errors Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 11 May 2022 18:43:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 55355 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Ivan Sokolov Cc: larsi@gnus.org, 55355@debbugs.gnu.org, monnier@iro.umontreal.ca Received: via spool by 55355-submit@debbugs.gnu.org id=B55355.165229453116362 (code B ref 55355); Wed, 11 May 2022 18:43:01 +0000 Received: (at 55355) by debbugs.gnu.org; 11 May 2022 18:42:11 +0000 Received: from localhost ([127.0.0.1]:38472 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1norHn-0004Fq-CY for submit@debbugs.gnu.org; Wed, 11 May 2022 14:42:11 -0400 Received: from eggs.gnu.org ([209.51.188.92]:48808) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1norHl-0004Fd-8V for 55355@debbugs.gnu.org; Wed, 11 May 2022 14:42:10 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:46618) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1norHe-0003DB-Uv; Wed, 11 May 2022 14:42:02 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=y3MxZphtDJEVgOT07NGmn3AbwWFJaZj45UVzv0GQdi4=; b=ap9o71vAmEnf v1DvyB2DzQqPAT1Jf9MWm8ZYS6o0Pf5fi3tyD2CT4gw+3FRQpzpRnjuLv3dRZtxrzu3K8MxvdfVTo nEunkbSg8h1wXvQloYh47u1OP5wUWJ/D2+K84fvRndkepyrhqKMLtbenToxZjkUKOohFiXxq0ZnZr RXXtTynwsxZ/q8BQCTPRXG/jM4Ijar5SmudQ23X9mefhcYeXzVTGLmnqLZhJ2UkA+sA4LGr6sAycG PBH4xqgPb5l+/+kQD43h9K/dYqhds6SX64uCGZ1YkPRu6UgEDvRa4uL62lfJP5R76vOUsANxtw0w3 yy3hpRRgsBK4cBEQbNUzsQ==; Received: from [87.69.77.57] (port=4930 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1norHe-0004lH-EQ; Wed, 11 May 2022 14:42:02 -0400 Date: Wed, 11 May 2022 21:42:04 +0300 Message-Id: <83a6bnrjwj.fsf@gnu.org> From: Eli Zaretskii In-Reply-To: (message from Ivan Sokolov on Wed, 11 May 2022 18:20:41 +0000) References: <87h75xnghe.fsf@ya.ru> <87a6bob77f.fsf@gnus.org> X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > Cc: 55355@debbugs.gnu.org, Stefan Monnier > Date: Wed, 11 May 2022 18:20:41 +0000 > From: Ivan Sokolov > > On May 11, 2022 12:10:44 PM UTC, Lars Ingebrigtsen wrote: > >(What does "TBD" mean here? To be decided?) > > Yeah, to be discussed or decided, I am sure there are a better name for the issue. To Be Determined. From unknown Tue Jun 17 01:47:42 2025 X-Loop: help-debbugs@gnu.org Subject: bug#55355: TBD: inappropriate inlining, cmacro errors Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 11 May 2022 20:23:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 55355 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Lars Ingebrigtsen Cc: 55355@debbugs.gnu.org, Ivan Sokolov Received: via spool by 55355-submit@debbugs.gnu.org id=B55355.165230055412359 (code B ref 55355); Wed, 11 May 2022 20:23:01 +0000 Received: (at 55355) by debbugs.gnu.org; 11 May 2022 20:22:34 +0000 Received: from localhost ([127.0.0.1]:38626 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nosqv-0003DH-Qw for submit@debbugs.gnu.org; Wed, 11 May 2022 16:22:34 -0400 Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:4335) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nosqt-0003Cx-Om for 55355@debbugs.gnu.org; Wed, 11 May 2022 16:22:32 -0400 Received: from pmg2.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id ECEA380355; Wed, 11 May 2022 16:22:25 -0400 (EDT) Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 52556800AE; Wed, 11 May 2022 16:22:24 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1652300544; bh=tm2P6rGgUVLJZXuAAFA8zE8L7sicxLPc+pl0LkLp99k=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=DISziQ2sZ826FQANegjuGWJsQEz2qxCEJGUPPlayDY2VisbAbV2X2wB56xPl8CtFY e8BTp0dnEcVF/uHZkCosRi+sebc1EqIvL3xZ59V4EGJERE1Smf/QgT8iF8a0KLm2Ew 5yDDmlZTPLs7VRH6P0z1Ya9DOEe5DvWegEpZzVrt/aMAk/PBWzImJ5bhtkMugoa9yO hEI1ZfnPANMVaJfVwZSU4Y0zkz+yPfy1VM/PMZPzIguQnfKmUACf14TrDW/uUY7OkE LxavzIl2ZoImVA/Wlk4owBFfqAkDd8h1c3JEfmbmhvjc3UEaVm6hi4fJWXd1UFr6jl /erPDDze5YoQg== Received: from alfajor (lechon.iro.umontreal.ca [132.204.27.242]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 3CE5D1200D3; Wed, 11 May 2022 16:22:24 -0400 (EDT) From: Stefan Monnier Message-ID: References: <87h75xnghe.fsf@ya.ru> <87a6bob77f.fsf@gnus.org> Date: Wed, 11 May 2022 16:22:23 -0400 In-Reply-To: <87a6bob77f.fsf@gnus.org> (Lars Ingebrigtsen's message of "Wed, 11 May 2022 14:10:44 +0200") 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.209 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 T_SCC_BODY_TEXT_LINE -0.01 - X-SPAM-LEVEL: X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) >> (cl-defstruct (foo (:constructor foo<-list ((bar _ baz)))) >> bar >> baz) [...] > Perhaps Stefan has some comments; added to the CCs. Looks like another bug in `cl-defsubst`. To the extent that I dislike this "destructuring args" in function signatures, I'd recommend "if it hurts, don't do that". You can probably work around the problem using the `:noinline` feature added recently to `cl-defstruct`. As for a fix, it's probably a small matter of making `cl-defsubst` give up on inlining when the formal arglist is "too complex". Stefan