[Bug 139] New: GDC writes all-zero initialisers in the rodata section

via D.gnu d.gnu at puremagic.com
Sat Jul 12 06:58:23 PDT 2014


http://bugzilla.gdcproject.org/show_bug.cgi?id=139

            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 at gdcproject.org
          Reporter: safety0ff.bugz at 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

-- 
You are receiving this mail because:
You are watching all bug changes.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/d.gnu/attachments/20140712/ea59130b/attachment.html>


More information about the D.gnu mailing list