https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91178
--- Comment #17 from Vsevolod Livinskiy <vsevolod.livinskij at frtk dot ru> --- (In reply to Serge Belyshev from comment #16) > (In reply to Vsevolod Livinskiy from comment #15) > > I don't know if it is the same error or not, but the reproducer looks > > similar. > > This one is different. It does not fail for me with -O3 > -march=skylake-avx512, just slow and consumes over 1G of memory. > > But with just "-O3" it blows up the stack during predictive commoning pass > via follow_ssa_edge tree-scalar-evolution.c:1350 --> follow_ssa_edge_in_rhs > tree-scalar-evolution.c:1135 --> follow_ssa_edge_binary > tree-scalar-evolution.c:947 --> follow_ssa_edge tree-scalar-evolution.c:1350 > recursion. > > Git bisect points at r256634. Thank you! I'll open a new bug to keep them separated.