http://d.puremagic.com/issues/show_bug.cgi?id=6665
Maksim Zholudev <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #7 from Maksim Zholudev <[email protected]> 2011-10-19 07:37:08 PDT --- More investigation. ----- test.d ----- struct Foo { double[2][2] dat; double foo(size_t i, size_t j) { return dat[i][j] = 0; } } void main() { Foo a; } ------------------ Tested on Linux 64bit with dmd 2.055: dmd -m32 test.d -> OK dmd -m64 test.d -> Internal error: ../ztc/cg87.c 202 dmd -m32 -release test.d -> OK dmd -m64 -release test.d -> OK There is no error in any of the following cases: * "dat" is one-dimensional * one of the indexes in Foo.foo is constant (e.g. dat[i][0] = 0) * "int" or "real" used instead of "double" ("float" still produces the error) -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
