https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107661
--- Comment #14 from Martin Jambor ---
(In reply to Sergei Trofimovich from comment #13)
> It seems to have something to do with
> push_agg_values_from_edge()/push_agg_values_for_index_from_edge() behaviour
> of filtering self-recursive lattice
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107661
--- Comment #13 from Sergei Trofimovich ---
(In reply to Sergei Trofimovich from comment #12)
> Testing the following:
>
> --- a/gcc/ipa-cp.cc
> +++ b/gcc/ipa-cp.cc
> @@ -5869,37 +5869,37 @@ cgraph_edge_brings_all_scalars_for_node (struct
>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107661
--- Comment #12 from Sergei Trofimovich ---
Testing the following:
--- a/gcc/ipa-cp.cc
+++ b/gcc/ipa-cp.cc
@@ -5869,37 +5869,37 @@ cgraph_edge_brings_all_scalars_for_node (struct
cgraph_edge *cs,
/* Determine whether CS also brings all
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107661
--- Comment #11 from Sergei Trofimovich ---
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
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107661
--- Comment #10 from Sergei Trofimovich ---
I think ipa-cp adds the call edge info in wrong direction. a.cc.081i.cp snippet
around do3() param1 (our callback):
IPA lattices after all propagation:
Lattices:
...
Node: void
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107661
Sergei Trofimovich changed:
What|Removed |Added
Attachment #53888|0 |1
is obsolete|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107661
--- Comment #8 from Sergei Trofimovich ---
(In reply to Sergei Trofimovich from comment #7)
> When debug reports unqualified `Aggregate replacements: 1[0]=callback_fn`
> does it mean ipa-cp does not distinguish between:
> * static void
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107661
--- Comment #7 from Sergei Trofimovich ---
Looking -fdump-ipa-cp-all I see the following clone
```
IPA decision stage:
Evaluating opportunities for static void function_ref::callback_fn(void*) [with
Callable =
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107661
Richard Biener changed:
What|Removed |Added
Priority|P3 |P1
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107661
Martin Jambor changed:
What|Removed |Added
Status|UNCONFIRMED |ASSIGNED
Ever confirmed|0
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107661
Sergei Trofimovich changed:
What|Removed |Added
Summary|[13 Regression] lambdas get |[13 Regression] lambdas get
11 matches
Mail list logo