www.digitalmars.com         C & C++   DMDScript  

D.gnu - [Bug 59] New: X32 - Type *argtypemerge(): Assertion `0' failed


             Bug #: 59
           Summary: X32 - Type *argtypemerge(): Assertion `0' failed
    Classification: Unclassified
           Product: GDC
           Version: development
          Platform: x86_64
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gdc
        AssignedTo: ibuclaw gdcproject.org
        ReportedBy: ibuclaw gdcproject.org

Simple test:

struct bug
   string a;
   string b;

Why this fails?

gdc -m32:  size = 16, is64bit = false.  Passed in memory.
gdc -m64:  size = 32, is64bit = true.   Passed in memory.
gdc -mx32: size = 16, is64bit = true.   Tries to pass a pair of 4 byte types in
registers.  This just be instead treated as one 8 byte type (see
TypeDArray::toArgtypes for where this should be handled).

Configure bugmail: http://bugzilla.gdcproject.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
Jun 02 2013