Note that I've narrowed this down to http://gcc.gnu.org/ml/gcc-patches/2001-12/msg01532.html patch (without it, cc1plus eats < 69M on the original testcase, with it > 250M (I've killed it to avoid swap agony).