https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90559
ibuclaw at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |ASSIGNED Last reconfirmed| |2019-06-16 CC| |ibuclaw at gcc dot gnu.org Resolution|FIXED |--- Ever confirmed|0 |1 --- Comment #4 from ibuclaw at gcc dot gnu.org --- Well, actually, partially fixed. There's still some pretty bad handling of very large arrays within the dmd frontend itself. One of the problems being that it represents the initializer as one big contiguous array in memory in the frontend AST, and this initializer could be copied multiple times if used during CTFE. I think ultimately to cloes this, array initializers should be represented sparsely, but that would be a bigger internal change to dmd itself.