[Issue 23978] [REG 2.103.0] ICE: Segmentation fault in dmd.root.aav.dmd_aaGetRvalue at src/dmd/root/aav.d:127

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Jun 7 22:21:06 UTC 2023


https://issues.dlang.org/show_bug.cgi?id=23978

--- Comment #5 from Iain Buclaw <ibuclaw at gdcproject.org> ---
(In reply to mhh from comment #3)
> Is dip1021 required?

AFAICT, all that dip1021 is doing is make the compiler call GC.malloc/GC.free a
number of times more often than it usually does.

https://github.com/dlang/dmd/blob/master/compiler/src/dmd/ob.d

I'd consider the main trigger to be `-lowmem` - so it may well be the GC itself
that is at fault, given that git blame points to a change in `_d_newclass`,
this seems the most plausible explanation.

--


More information about the Digitalmars-d-bugs mailing list