public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
From: ywgrit <yw987194828@gmail.com>
To: gcc@gcc.gnu.org
Subject: How to write/read tree contains ssa_name in lto
Date: Sat, 11 Oct 2025 16:30:06 +0800	[thread overview]
Message-ID: <CAPt2h2bGo-cHK8CGc6=s2DFjGJwkpPqumT8-VyUZxg8GWVDrAw@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 286 bytes --]

I used the functions stream_write_tree/stream_read_tree in lto. If tree
contains ssa_name, then stream_read_tree will generate ice: cfun is null in
wpa, so (*SSANAMES (cfun))[ix] will break the program. How to write/read
tree contains ssa_name in lto, e.g., wpa phase?
Thanks.

ywgrit.

             reply	other threads:[~2025-10-11  8:30 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-10-11  8:30 ywgrit [this message]
2025-10-13  6:41 ` Richard Biener
2025-10-14 12:22   ` ywgrit
2025-10-14 12:31     ` Richard Biener
2025-10-14 12:51       ` ywgrit
2025-10-14 13:23         ` Richard Biener
2025-10-15  3:51           ` ywgrit
2025-10-15 13:07             ` Richard Biener
2025-11-03  2:41               ` ywgrit

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

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

  git send-email \
    --in-reply-to='CAPt2h2bGo-cHK8CGc6=s2DFjGJwkpPqumT8-VyUZxg8GWVDrAw@mail.gmail.com' \
    --to=yw987194828@gmail.com \
    --cc=gcc@gcc.gnu.org \
    /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.
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).