[Bug c++/53226] memory consumption for heavy template instantiations increased massively

rguenth at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue May 8 13:20:00 GMT 2012


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53226

--- Comment #12 from Richard Guenther <rguenth at gcc dot gnu.org> 2012-05-08 12:12:42 UTC ---
One way would be to have a queue of propagation sources to be removed and
delay the removal until after we have processed the function (the basic
block?).
Then have a worklist of stmts to re-visit which we initialize from the uses
of the stmts we remove.

Or something like that ... or simply do not care (though we have a few
testcases that depend on this I think)



More information about the Gcc-bugs mailing list