[Issue 23874] -profile=gc segfaults / ICE regression

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue May 2 01:14:04 UTC 2023


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

--- Comment #2 from Jan Jurzitza <d.bugs at webfreak.org> ---
alternative reproduction that works with master:

reduced2.d
```
string myToString()
{
}

enum x = myToString ~ "";
```
dmd -c -profile=gc reduced2.d

this one regressed in
https://github.com/dlang/dmd/commit/1db1ba87fd23d45f1bffaea07efe7dc8070ffef1

different commit, but the issue is also introduced by template translation
here. So it looks like there is some issue further up

blocks the same msgpack-d / DCD project

--


More information about the Digitalmars-d-bugs mailing list