https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81546
--- Comment #2 from Dmitry Babokin ---
Reduced test case consumes about 11Gb. That's a lot and looks like it's just
the consequence of the real problem. But the test case in #81488 consumes 128Gb
and dies on my machine because of lack of available memory.
This makes me think that two things need to be fixed - SSA bug itself and
proper thresholds need to be imposed.
By the way, slight massaging of the test case makes the problem go away. For
example, manual folding of -112 & 18444684886795439976ULL "fixes" the problem.