From mboxrd@z Thu Jan  1 00:00:00 1970
Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail
From: Andrea Corallo <acorallo@gnu.org>
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: Thu, 08 Feb 2024 13:49:53 -0500
Message-ID: <yp1zfwadc4u.fsf@fencepost.gnu.org>
References: <87zfwl8vd9.fsf@localhost> <86zfwl1t5y.fsf@gnu.org>
 <yp1bk8zdyw2.fsf@fencepost.gnu.org> <87sf2bxa3k.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="27454"; mail-complaints-to="usenet@ciao.gmane.io"
User-Agent: Gnus/5.13 (Gnus v5.13)
Cc: Eli Zaretskii <eliz@gnu.org>, 68851@debbugs.gnu.org,
 monnier@iro.umontreal.ca
To: Ihor Radchenko <yantar92@posteo.net>
Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Feb 08 19:51:09 2024
Return-path: <bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org>
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 <bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org>)
	id 1rY9UL-0006va-OJ
	for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 08 Feb 2024 19:51:09 +0100
Original-Received: from localhost ([::1] helo=lists1p.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.90_1)
	(envelope-from <bug-gnu-emacs-bounces@gnu.org>)
	id 1rY9U4-0000oe-Gh; Thu, 08 Feb 2024 13:50:52 -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 <Debian-debbugs@debbugs.gnu.org>)
 id 1rY9Tz-0000oR-Vo
 for bug-gnu-emacs@gnu.org; Thu, 08 Feb 2024 13:50:48 -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 <Debian-debbugs@debbugs.gnu.org>)
 id 1rY9Tz-0005RH-IJ
 for bug-gnu-emacs@gnu.org; Thu, 08 Feb 2024 13:50:47 -0500
Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2)
 (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1rY9UD-0000fJ-NA
 for bug-gnu-emacs@gnu.org; Thu, 08 Feb 2024 13:51:01 -0500
X-Loop: help-debbugs@gnu.org
Resent-From: Andrea Corallo <acorallo@gnu.org>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@gnu.org
Resent-Date: Thu, 08 Feb 2024 18:51:01 +0000
Resent-Message-ID: <handler.68851.B68851.17074182192504@debbugs.gnu.org>
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.17074182192504
 (code B ref 68851); Thu, 08 Feb 2024 18:51:01 +0000
Original-Received: (at 68851) by debbugs.gnu.org; 8 Feb 2024 18:50:19 +0000
Original-Received: from localhost ([127.0.0.1]:33653 helo=debbugs.gnu.org)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <debbugs-submit-bounces@debbugs.gnu.org>)
 id 1rY9TW-0000eJ-OK
 for submit@debbugs.gnu.org; Thu, 08 Feb 2024 13:50:19 -0500
Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:43428)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <acorallo@gnu.org>) id 1rY9TT-0000e1-Uj
 for 68851@debbugs.gnu.org; Thu, 08 Feb 2024 13:50:16 -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 <acorallo@gnu.org>)
 id 1rY9T9-0005Bf-31; Thu, 08 Feb 2024 13:49:55 -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=SvJj35RJQyFAqmwon+TIOWQlRbaMd+srdFd6cMFpBeI=; b=Z9TpFdG1GSowe68WGACt
 AGDHAXQ2a+ItdHYelj1dv/BZfZYejuEa1AOn8L+I7et0FsYPj7RmIiGqtB1yeC71TrR4zmv3TirW6
 2jIaMhVZm4ft0uiVgvRBpZaG9Hy0IfpVuMgA2PgZM1DiuddyJAt3mD1VsMPz4SMhX/yD8JrG5n67/
 FjqNsSU7oBh/tDpq8AX73aEZ/doB4uVPFnky5TtokSZt7BJ89bkjvLFHOJeCNn6ECT5xAWuAoBuvN
 2d+WXwN6bo6X7MijW+uZl9a7R91Kg9be1TWVzM+DrNuf2CieR32l/Nv5eManz5zz8Hopd4zYyYQ9D
 kcOrALlSBjEHxw==;
Original-Received: from acorallo by fencepost.gnu.org with local (Exim 4.90_1)
 (envelope-from <acorallo@gnu.org>)
 id 1rY9T7-00017f-2n; Thu, 08 Feb 2024 13:49:53 -0500
In-Reply-To: <87sf2bxa3k.fsf@localhost> (Ihor Radchenko's message of "Fri, 02
 Feb 2024 13:35:27 +0000")
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" <bug-gnu-emacs.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-gnu-emacs>,
 <mailto:bug-gnu-emacs-request@gnu.org?subject=unsubscribe>
List-Archive: <https://lists.gnu.org/archive/html/bug-gnu-emacs>
List-Post: <mailto:bug-gnu-emacs@gnu.org>
List-Help: <mailto:bug-gnu-emacs-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-gnu-emacs>,
 <mailto:bug-gnu-emacs-request@gnu.org?subject=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:279651
Archived-At: <http://permalink.gmane.org/gmane.emacs.bugs/279651>

Ihor Radchenko <yantar92@posteo.net> writes:

> Andrea Corallo <acorallo@gnu.org> writes:
>
>>>> =E2=9B=94 Warning (comp): Warning: Optimization failure for org-elemen=
t-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 f=
unctions.
>> ...
>>
>> 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.
>
> batch-byte-compile does not emit any warnings.
> batch-native-compile emits the same warning:
>
> Compiling single /home/yantar92/Git/org-mode/lisp/org-element-ast.el...
> Warning: Optimization failure for org-element-property-raw: Handler: org-=
element-property-raw--inliner
> (void-function org-element--property-idx)
> Warning: Optimization failure for org-element-put-property: Handler: org-=
element-put-property--inliner
> (void-function org-element--property-idx)
> Warning: Optimization failure for org-element-property-raw: Handler: org-=
element-property-raw--inliner
> (void-function org-element--property-idx)
> ...

Hi Ihor,

could you specify the reproducer for this?

Thanks

  Andrea