That is again a case where the compiler didn't put unchangeable content
(Identitiy and init) readonly section but read-write section. On Linux "init"
is in a readonly section and thus the second loop segfaults.
It would be nice if the compiler enforced/checked read-write rights.
Comment #2 by yebblies — 2012-01-29T19:32:41Z
Currently both D1 and D2 (1.068 & 2.058) compilers print:
9.000000
9.000000
9.000000
9.000000
9.000000
0.900000
0.900000
0.900000
0.900000
0.900000
As .init creates a temporary this is correct.