[Issue 12] New: ARM: runnable/test12.d Unsupported platform

gdc-bugzilla at gdcproject.org gdc-bugzilla at gdcproject.org
Tue Sep 25 04:45:29 PDT 2012


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

             Bug #: 12
           Summary: ARM: runnable/test12.d Unsupported platform
    Classification: Unclassified
           Product: GDC
           Version: development
          Platform: ARM
        OS/Version: Linux
            Status: NEW
          Severity: trivial
          Priority: Normal
         Component: gdc
        AssignedTo: ibuclaw at gdcproject.org
        ReportedBy: johannespfau at gmail.com


These tests are currently failing:
----
    version(X86)
        assert(a.classinfo.init.length == 28);
    else version(X86_64)
        assert(a.classinfo.init.length == 36);
    else
        assert(0);
----

----
        version(X86)
        {
            assert(Qwert32.yuiop.offsetof == 8);
            assert(Qwert32.asdfg.offsetof == 12);
        }
        else version (X86_64)
        {
            assert(Qwert32.yuiop.offsetof == 16);
            assert(Qwert32.asdfg.offsetof == 20);
        }
        else
            assert(0);
----

we could of course just add
----
    else version(ARM)
        assert(a.classinfo.init.length == 28);
----
and
----
        else version (ARM)
        {
            assert(Qwert32.yuiop.offsetof == 8);
            assert(Qwert32.asdfg.offsetof == 12);
        }
----

but I wonder whether this should use D_LP64 instead?

-- 
Configure issuemail: http://gdcproject.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all issue changes.


More information about the D.gnu mailing list