Compiler Crash - Can anybody confirm with latest DMD?

Vindex9 tech.vindex at gmail.com
Tue Apr 29 08:07:28 UTC 2025


Static arrays of size 1 of the 'real' type do not work. A 
segmentation error occurs. I suspect that the bug is contained in 
`std.stdio.write`.

```d
void main() {
     import std.stdio : writeln;
     real[1] tsa;
     writeln("tsa=", tsa, ", sizeof=", tsa.sizeof);
}
```


More information about the Digitalmars-d mailing list