------- Comment #5 from rguenth at gcc dot gnu dot org 2008-05-22 19:15 ------- As noted in comment #1 variable annotations are a major problem (they are duplicated for global variables, for each function the variable is referenced from).
It happens that sharing variable annotations for globals between functions reduces peak memory usage by 1GB. So that's were I'm currently looking at. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36291