https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96291
--- Comment #7 from Sergei Trofimovich <slyfox at inbox dot ru> ---
(In reply to Sergei Trofimovich from comment #6)
> -fdump-ipa-all-all generates sdb.wpa.076i.cp that says f() has no jump
> functions:
> ...
> Is it expected?
print_all_lattices() suggests it is expected for unoptimized cases to have no
IPA info:
"""
info = IPA_NODE_REF (node);
/* Skip unoptimized functions and constprop clones since we don't make
lattices for them. */
if (!info || info->ipcp_orig_node)
continue;
"""
The crash happens when analysing a()->e() edge. But a() was compiled with -flto
-O0 and thus has no IPA fnsummary.
Proposed patch: https://gcc.gnu.org/pipermail/gcc-patches/2020-July/550667.html