https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107661

--- Comment #11 from Sergei Trofimovich <slyfox at gcc dot gnu.org> ---
I think I found the bug: r13-3358-ge0403e95689af7
cgraph_edge_brings_all_agg_vals_for_node() accidentally changed behaviour of
the predicate:

- before the change: ipa-cp triggers when constrop contains all possible edges
aggregates (ok).
- after the change: ipa-cp triggers when constrop contains a subset(!) of
possible edges aggregates (bad, redirects invalid values sometimes).

Thus substitution of do3()->do3.constprop() redirects to the wrong target.

Sounds plausible?

Reply via email to