From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Andrea Corallo 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: Fri, 02 Feb 2024 04:00:13 -0500 Message-ID: References: <87zfwl8vd9.fsf@localhost> <86zfwl1t5y.fsf@gnu.org> 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="2296"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Ihor Radchenko , 68851@debbugs.gnu.org, monnier@iro.umontreal.ca To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Feb 02 10:01:12 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 1rVpQ8-0000Ng-FQ for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 02 Feb 2024 10:01:12 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rVpPp-0003AR-BR; Fri, 02 Feb 2024 04:00:53 -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 1rVpPo-0003AF-9X for bug-gnu-emacs@gnu.org; Fri, 02 Feb 2024 04:00:52 -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 1rVpPo-0000gv-0V for bug-gnu-emacs@gnu.org; Fri, 02 Feb 2024 04:00:52 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rVpPy-0004P7-Db for bug-gnu-emacs@gnu.org; Fri, 02 Feb 2024 04:01:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Andrea Corallo Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 02 Feb 2024 09:01:02 +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.170686443716882 (code B ref 68851); Fri, 02 Feb 2024 09:01:02 +0000 Original-Received: (at 68851) by debbugs.gnu.org; 2 Feb 2024 09:00:37 +0000 Original-Received: from localhost ([127.0.0.1]:43727 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rVpPY-0004OD-J2 for submit@debbugs.gnu.org; Fri, 02 Feb 2024 04:00:37 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:36850) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rVpPT-0004Nv-Tp for 68851@debbugs.gnu.org; Fri, 02 Feb 2024 04:00:35 -0500 Original-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 ) id 1rVpPC-0000au-6t; Fri, 02 Feb 2024 04:00:14 -0500 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=YCwXmqO+D2Ozeyfxgjo+TiKOxS60YUJLVyu7BHG9tS0=; b=gIiNHtdo342exWTzDq68 TVHFUWKZZaRIE0nm6v0Jw6UFpy2iA8VwDAJQ1gXb4CkaNU3Ze0khBj2j9bYRilqYHj/yeOsEx6rmI FC5vMeqZbVv2Lg+Zn3tu7w4FkILNq51Aa+vzcEbkQiMFZRGMDIzp/4BeJ2sv86ltXQwv0B508grLG vxQGYuCqzq6LTYRKEPq/U59Ynl6bQ36QssMWdvA7esvV3yWX9EHLkWktCIEO36MZdwEqAIiG+YaP9 9d0HWPx7kpQKVLAPfISpA2Bi9e1ABPIaMnHkbxFYz/49daR9PyNJbv3pg1WDWuuUalh84VFGPQELP a+kWTY5drwvYPg==; Original-Received: from acorallo by fencepost.gnu.org with local (Exim 4.90_1) (envelope-from ) id 1rVpPB-0003Ru-MS; Fri, 02 Feb 2024 04:00:13 -0500 In-Reply-To: <86zfwl1t5y.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 31 Jan 2024 16:20:09 +0200") 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:279339 Archived-At: Eli Zaretskii writes: >> Cc: Stefan Monnier >> From: Ihor Radchenko >> Date: Wed, 31 Jan 2024 13:50:42 +0000 >>=20 >> I just stumbled upon strange native compiler warning after defining the >> following inliner: >>=20 >> (define-inline org-element--property-idx (property) >> "Return standard property index or nil." >> (declare (pure t)) >> (inline-letevals (property) >> (plist-get >> org-element--standard-properties-idxs >> (inline-const-val property)))) >>=20 >> =E2=9B=94 Warning (comp): Warning: Optimization failure for org-element-= property-raw: Handler: org-element-property-raw--inliner >>=20 >> This is on the latest Org mode main branch. >>=20 >> This looks like a bug unless I misunderstand something about inlined fun= ctions. > > Andrea, can you please help understand this warning? > >>=20 >> =E2=9B=94 Warning (comp): Warning: Optimization failure for org-element-= property-raw: Handler: org-element-property-raw--inliner >> =E2=9B=94 Warning (comp): Warning: Optimization failure for org-element-= put-property: Handler: org-element-put-property--inliner >> =E2=9B=94 Warning (comp): Warning: Optimization failure for org-element-= property-raw: Handler: org-element-property-raw--inliner >> =E2=9B=94 Warning (comp): Warning: Optimization failure for org-element-= put-property: Handler: org-element-put-property--inliner >> =E2=9B=94 Warning (comp): Warning: Optimization failure for org-element-= put-property: Handler: org-element-put-property--inliner >> =E2=9B=94 Warning (comp): Warning: Optimization failure for org-element-= property: Handler: org-element-property--inliner >> =E2=9B=94 Warning (comp): Warning: Optimization failure for org-element-= put-property: Handler: org-element-put-property--inliner >> =E2=9B=94 Warning (comp): Warning: Optimization failure for org-element-= put-property: Handler: org-element-put-property--inliner >> =E2=9B=94 Warning (comp): Warning: Optimization failure for org-element-= property: Handler: org-element-property--inliner >> =E2=9B=94 Warning (comp): Warning: Optimization failure for org-element-= put-property: Handler: org-element-put-property--inliner >> =E2=9B=94 Warning (comp): Warning: Optimization failure for org-element-= put-property: Handler: org-element-put-property--inliner >> =E2=9B=94 Warning (comp): Warning: Optimization failure for org-element-= put-property: Handler: org-element-put-property--inliner >> =E2=9B=94 Warning (comp): Warning: Optimization failure for org-element-= put-property: Handler: org-element-put-property--inliner >> =E2=9B=94 Warning (comp): Warning: Optimization failure for org-element-= put-property: Handler: org-element-put-property--inliner >> =E2=9B=94 Warning (comp): Warning: Optimization failure for org-element-= put-property: Handler: org-element-put-property--inliner Hi, I can't investigate this directly before next week but I was wondering: Ihor have you tried compiling the compilation unit from command line (using batch-byte-compile or batch-native-compile)? If some dependency is broken this should highlight it. Thanks Andrea