https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91178
--- Comment #16 from Serge Belyshev <belyshev at depni dot sinp.msu.ru> --- (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.