https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99053

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
If there's currently no part in the FE that tries to release memory of this
kind then a valid strathegy would be to change the current heap allocations via
X[C]NEW to allocations from a frontend specific obstack and simply release
the whole obstack at the point the FE transfers control to the middle-end
(assuming later langhook calls from it will not reach into the data, of
course).

Guess FE people will have an idea of the lifetime of objects.

Reply via email to