Hi, > I believe I have a patch (attached) for the memory explosions that > occur when using g++ -O2 -Wall with lots of templates. See for > example: I applied the patch (by hand) to egcs-1.0 and indeed, it made a big difference. gcc previously required around 150-170Mb to compile it, now we're down to 69Mb. And the generated code works fine. Thanks. Tudor