Program crash: GC destroys an object unexpectedly

eugene dee0xeed at gmail.com
Thu Sep 23 14:40:54 UTC 2021


On Monday, 13 September 2021 at 17:18:30 UTC, eugene wrote:
> And the most strange thing is this - if using gdc with -Os 
> flag, the program behaves
> exactly as when compiled with fresh dmd - destructors for sg0 
> and sg1 are called soon after program start.

Now I guess, gdc optimization by size imply DSE.



More information about the Digitalmars-d-learn mailing list