DMD and GDC are unnecessarily using heap allocations for closures

Iain Buclaw ibuclaw at gdcproject.org
Mon May 30 10:34:18 UTC 2022


On Monday, 30 May 2022 at 10:24:12 UTC, Siarhei Siamashka wrote:
> Not sure if anything can be done about GDC. Iain does not seem 
> to appreciate reports of this kind in GCC bugzilla and I don't 
> want to annoy him unnecessarily.

Since when have I said that?  Maybe I'm missing a context. :-)

IMO the DMD front-end should be fixed to not tell GDC and LDC to 
allocate a closure in the first place, then LDC wouldn't have the 
need for a custom pass to revert the GC allocations.


More information about the Digitalmars-d mailing list