www.digitalmars.com         C & C++   DMDScript  

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

Date: Sat, 12 Jul 2014 14:58:23 +0100
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"

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 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

-- 
You are receiving this mail because:
You are watching all bug changes.
Jul 12 2014