https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58315
--- Comment #13 from Aldy Hernandez <aldyh at gcc dot gnu.org> --- (In reply to Richard Biener from comment #12) > Just checked r220835 from today and it still takes more than 2GB of virtual > memory. (the compiler has checking enabled, but I doubt that makes a > difference?) Ah! Got it. I was using ppl-1.1, which seemed like the last release on the PPL site. I have now reproduced with your testcase, and either removing the offending line, or using -fpermissive. I see the memory usage go gradually up to 500megs, and then explodes from then on. Will take a look.