www.digitalmars.com         C & C++   DMDScript  

D - bug? large .o files

Dear D Developers,

When compiling the following code with D 0.70,

static char foo[999999];

the .o file will be >999999 bytes, almost full of zeroes. I think this is a bug
in the compiler, because such arrays should be put into the DSS segment instead
of the DATA segment.


Sep 03 2003