https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117467
--- Comment #15 from Jeffrey A. Law <law at gcc dot gnu.org> --- So what's weird here is on that file for riscv64, after removing the memory based limiter, I see ext-dce at .94s out of 295s of cpu time and I never see a major memory spike -- I don't ever see it get much above 1G, certainly nowhere near the 25G reported in c#2. While I don't doubt the results you saw, I do wonder if either checking or x86 target tickled some quirk. I'll test those next.