[Bug 59] New: X32 - Type *argtypemerge(): Assertion `0' failed
gdc-bugzilla at gdcproject.org
gdc-bugzilla at gdcproject.org
Sun Jun 2 10:08:34 PDT 2013
http://bugzilla.gdcproject.org/show_bug.cgi?id=59
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 at gdcproject.org
ReportedBy: ibuclaw at 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.
More information about the D.gnu
mailing list