https://gcc.gnu.org/bugzilla/show_bug.cgi?id=125121
Josef Melcr <jmelcr at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Last reconfirmed| |2026-6-22
Assignee|unassigned at gcc dot gnu.org |jmelcr at gcc dot
gnu.org
CC| |jmelcr at gcc dot gnu.org
--- Comment #3 from Josef Melcr <jmelcr at gcc dot gnu.org> ---
Mine, only noticed it now, sorry.
When compiling with -fno-ipa-cp, ipa-sra runs before ipa-prop analysis. During
ipa-prop, I create a callback edge, which will be missing its ipa-sra summaries
due to the pass ordering.
The easiest thing to do would be to gate the edge creation with flag_ipa_cp,
but that's a bandaid rather than a fix. I'll try to come up with a proper
solution soon.