unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Ihor Radchenko <yantar92@posteo.net>, Andrea Corallo <acorallo@gnu.org>
Cc: 68851@debbugs.gnu.org, monnier@iro.umontreal.ca
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 16:20:09 +0200	[thread overview]
Message-ID: <86zfwl1t5y.fsf@gnu.org> (raw)
In-Reply-To: <87zfwl8vd9.fsf@localhost> (message from Ihor Radchenko on Wed, 31 Jan 2024 13:50:42 +0000)

> Cc: Stefan Monnier <monnier@iro.umontreal.ca>
> From: Ihor Radchenko <yantar92@posteo.net>
> Date: Wed, 31 Jan 2024 13:50:42 +0000
> 
> I just stumbled upon strange native compiler warning after defining the
> following inliner:
> 
> (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))))
> 
> ⛔ Warning (comp): Warning: Optimization failure for org-element-property-raw: Handler: org-element-property-raw--inliner
> 
> This is on the latest Org mode main branch.
> 
> This looks like a bug unless I misunderstand something about inlined functions.

Andrea, can you please help understand this warning?

> 
> ⛔ Warning (comp): Warning: Optimization failure for org-element-property-raw: Handler: org-element-property-raw--inliner
> ⛔ Warning (comp): Warning: Optimization failure for org-element-put-property: Handler: org-element-put-property--inliner
> ⛔ Warning (comp): Warning: Optimization failure for org-element-property-raw: Handler: org-element-property-raw--inliner
> ⛔ Warning (comp): Warning: Optimization failure for org-element-put-property: Handler: org-element-put-property--inliner
> ⛔ Warning (comp): Warning: Optimization failure for org-element-put-property: Handler: org-element-put-property--inliner
> ⛔ Warning (comp): Warning: Optimization failure for org-element-property: Handler: org-element-property--inliner
> ⛔ Warning (comp): Warning: Optimization failure for org-element-put-property: Handler: org-element-put-property--inliner
> ⛔ Warning (comp): Warning: Optimization failure for org-element-put-property: Handler: org-element-put-property--inliner
> ⛔ Warning (comp): Warning: Optimization failure for org-element-property: Handler: org-element-property--inliner
> ⛔ Warning (comp): Warning: Optimization failure for org-element-put-property: Handler: org-element-put-property--inliner
> ⛔ Warning (comp): Warning: Optimization failure for org-element-put-property: Handler: org-element-put-property--inliner
> ⛔ Warning (comp): Warning: Optimization failure for org-element-put-property: Handler: org-element-put-property--inliner
> ⛔ Warning (comp): Warning: Optimization failure for org-element-put-property: Handler: org-element-put-property--inliner
> ⛔ Warning (comp): Warning: Optimization failure for org-element-put-property: Handler: org-element-put-property--inliner
> ⛔ Warning (comp): Warning: Optimization failure for org-element-put-property: Handler: org-element-put-property--inliner
> 
> 
> In GNU Emacs 30.0.50 (build 4, x86_64-pc-linux-gnu, GTK+ Version
>  3.24.39, cairo version 1.18.0) of 2024-01-30 built on localhost
> Repository revision: 9de29fb5b0396cb3929bd5668604fda076ca5ec4
> Repository branch: master
> Windowing system distributor 'The X.Org Foundation', version 11.0.12101011
> System Description: Gentoo Linux
> 
> Configured using:
>  'configure JAVAC=/etc/java-config-2/current-system-vm/bin/javac'
> 
> -- 
> Ihor Radchenko // yantar92,
> Org mode contributor,
> Learn more about Org mode at <https://orgmode.org/>.
> Support Org development at <https://liberapay.com/org-mode>,
> or support my work at <https://liberapay.com/yantar92>
> 
> 
> 
> 





  reply	other threads:[~2024-01-31 14:20 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-01-31 13:50 bug#68851: 30.0.50; Native comp: Optimization failure for org-element-property-raw: Handler: org-element-property-raw--inliner Ihor Radchenko
2024-01-31 14:20 ` Eli Zaretskii [this message]
2024-02-02  9:00   ` Andrea Corallo
2024-02-02 13:35     ` Ihor Radchenko
2024-02-05 15:10       ` Andrea Corallo
2024-02-08 18:49       ` Andrea Corallo
2024-02-08 19:21         ` Ihor Radchenko
2024-02-08 21:43           ` Andrea Corallo
2024-02-08 21:51             ` Ihor Radchenko
2024-02-08 21:57               ` Andrea Corallo
2024-02-08 22:13                 ` Ihor Radchenko
2024-02-08 22:33                   ` Andrea Corallo
2024-02-08 23:06                     ` Ihor Radchenko
2024-02-08 23:30                       ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-02-08 23:42                         ` Ihor Radchenko
2024-02-09  0:47                           ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-02-09 12:02                             ` Ihor Radchenko
2024-02-09 12:42                               ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-02-09 16:21                                 ` Ihor Radchenko
2024-02-09 16:19                             ` Ihor Radchenko
2024-02-09 11:41                       ` Andrea Corallo
2024-01-31 19:13 ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-01-31 19:47   ` Ihor Radchenko

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=86zfwl1t5y.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=68851@debbugs.gnu.org \
    --cc=acorallo@gnu.org \
    --cc=monnier@iro.umontreal.ca \
    --cc=yantar92@posteo.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).