| Bug ID | 139 |
|---|---|
| Summary | GDC writes all-zero initialisers in the rodata section |
| Product | GDC |
| Version | development |
| Hardware | All |
| OS | All |
| Status | NEW |
| Severity | enhancement |
| Priority | Normal |
| Component | gdc |
| Assignee | ibuclaw@gdcproject.org |
| Reporter | safety0ff.bugz@gmail.com |
This causes 64 bytes of zero data to be needlessly written to object file in
the following test:
struct Buffer { ubyte[64 * 1024] buffer; }
$ gdc test.d -c && du test.o
68 test.o # Instead of expected 4