[Issue 11] New: ARM: runnable/test11.d Unsupported platform

gdc-bugzilla at gdcproject.org gdc-bugzilla at gdcproject.org
Tue Sep 25 04:02:28 PDT 2012


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

             Bug #: 11
           Summary: ARM: runnable/test11.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


This test is currently failing:
----
    byte* p;

    version(X86)
        assert(p.sizeof == 4);
    else version(X86_64)
        assert(p.sizeof == 8);
    else
        assert(false, "unknown platform");
----

we could of course just add a
----
    else version(ARM)
        assert(p.sizeof == 4);
----

but I wonder whether this should use D_LP64 instead? With armv8/AArch64 arm
will support 64bit pointers. The question then is whether we introduce a new
version for 64 bit version(ARM64), or whether version(ARM) could be 32 or 64
bit and we should additionally use version(D_LP64)?

-- 
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