www.digitalmars.com         C & C++   DMDScript  

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

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 gdcproject.org
        ReportedBy: johannespfau 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.
Sep 25 2012