On Sat, Oct 11, 2025 at 10:32 AM ywgrit via Gcc <[email protected]> wrote:
>
> 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?

You shouldn't - you have to abstract from this somehow as during WPA phase
a SSA name doesn't make "sense".  That said, you have to elaborate a bit on
what you are trying to do.

Richard.

> Thanks.
>
> ywgrit.

Reply via email to