From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Ihor Radchenko Newsgroups: gmane.emacs.bugs Subject: bug#68851: 30.0.50; Native comp: Optimization failure for org-element-property-raw: Handler: org-element-property-raw--inliner Date: Wed, 31 Jan 2024 19:47:54 +0000 Message-ID: <87zfwlmgid.fsf@localhost> References: <87zfwl8vd9.fsf@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="22770"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 68851@debbugs.gnu.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Jan 31 20:45:07 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1rVGWA-0005hV-R1 for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 31 Jan 2024 20:45:06 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rVGW0-0003CU-5H; Wed, 31 Jan 2024 14:44:56 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rVGVx-0003Ba-15 for bug-gnu-emacs@gnu.org; Wed, 31 Jan 2024 14:44:53 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rVGVw-00007q-PU for bug-gnu-emacs@gnu.org; Wed, 31 Jan 2024 14:44:52 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rVGW5-0001WP-Ml for bug-gnu-emacs@gnu.org; Wed, 31 Jan 2024 14:45:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Ihor Radchenko Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 31 Jan 2024 19:45:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 68851 X-GNU-PR-Package: emacs Original-Received: via spool by 68851-submit@debbugs.gnu.org id=B68851.17067302895816 (code B ref 68851); Wed, 31 Jan 2024 19:45:01 +0000 Original-Received: (at 68851) by debbugs.gnu.org; 31 Jan 2024 19:44:49 +0000 Original-Received: from localhost ([127.0.0.1]:39086 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rVGVt-0001Vk-DH for submit@debbugs.gnu.org; Wed, 31 Jan 2024 14:44:49 -0500 Original-Received: from mout02.posteo.de ([185.67.36.66]:36339) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rVGVp-0001VU-NF for 68851@debbugs.gnu.org; Wed, 31 Jan 2024 14:44:47 -0500 Original-Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id D011A240104 for <68851@debbugs.gnu.org>; Wed, 31 Jan 2024 20:44:29 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1706730269; bh=7Pqb35XdPxVjowT/L6sCg2AznbPfMxVao+/aIe8Cb0c=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: Content-Transfer-Encoding:From; b=hxX7APLrOllcSj92cscfld+W7KD3cCsAhduIQOv+AsEYvm67xXWlhg0zJ5KqEuRj2 8DlxjhIbKmd5BQ75utVXEAb0jaRvIUFtqEv4/grTIV6KwcF+OeVp5kluwN1tf/jfDH Ax/2SDmMfQ2sPv5wZxV8lqcrGU1PDdLsxudh0jyuEqXhYXGTL0iZqNUSjn0C7rr2Bp FpUhtchgXxrqydU6JSyjNTEd21JPzU0MB44BpHDQO74dvNEQj0jO6XUDLCb/nbsLp3 BOzfBOhqDy1W7SlBRY5eXERZs9YxOI/fvtuz+yEqzBv0h8CeUqSnUleAbXyC4akBhK OFKvy34jSom5A== Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4TQCCw6Hvqz9rxN; Wed, 31 Jan 2024 20:44:28 +0100 (CET) In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:279242 Archived-At: Stefan Monnier writes: >> =E2=9B=94 Warning (comp): Warning: Optimization failure for org-element-= property-raw: Handler: org-element-property-raw--inliner > > This looks like the warning emitted by `macroexp--compiler-macro` when > a compiler macro (here, generated by `define-inline`) signals an error. > > This said, the warning should include (on the next line) the actual > error encountered. Not sure why you don't seem to have that. I also thought so, but the problem only appears during native compilation. Normal compilation works just fine. > In any case the origin might be a bug in your code or in `inline.el`. > > Is `org-element--standard-properties-idxs` defined at the time of > macro-expansion? Yup: (eval-and-compile ; make available during inline expansion (defconst org-element--standard-properties '( :begin :post-affiliated :contents-begin :contents-end :end :post-bla= nk :secondary :mode :granularity :cached :org-element--cache-sync-key :robust-begin :robust-end :true-level :buffer :deferred :structure :parent) "Standard properties stored in every syntax node structure. These properties are stored in an array pre-allocated every time a new object is created. Two exceptions are `anonymous' and `plain-text' node types.") (defconst org-element--standard-properties-idxs (let (plist) (seq-do-indexed (lambda (property idx) (setq plist (plist-put plist property idx))) org-element--standard-properties) plist) "Property list holding standard indexes for `org-element--standard-prop= erties'.")) --=20 Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at