The following program causes a segmentations fault when compiled with -O -inline -release with DMD 2.060 on 64 bit Linux:
struct A
{
double a;
double b;
}
void main()
{
auto a = new A[2];
a[] = A.init;
}
The core dump:
Core was generated by `./f'.
Program terminated with signal 11, Segmentation fault.
#0 0x000000000041a4f1 in _memset128ii ()