August 01, 2008
http://d.puremagic.com/issues/show_bug.cgi?id=2263

           Summary: spec does not specify how padding on 80 bit real is
                    initialized
           Product: D
           Version: 1.033
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Keywords: spec
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: bugzilla@digitalmars.com
        ReportedBy: tomas@famolsen.dk


on linux real takes 12 bytes for 32bit alignment. the spec does not specify if the extra 2 byte padding should be zero initialized or not.

other basic types which might be implemented with a larger allocation than they use for data could also use clarification on this.


-- 

August 03, 2008
http://d.puremagic.com/issues/show_bug.cgi?id=2263


bugzilla@digitalmars.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID




------- Comment #1 from bugzilla@digitalmars.com  2008-08-03 04:06 -------
The spec specifies them in expression.html#EqualExpression: "Equality for struct objects means the bit patterns of the objects match exactly (the existence of alignment holes in the objects is accounted for, usually by setting them all to 0 upon initialization)."


--