www.digitalmars.com         C & C++   DMDScript  

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


             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 gdcproject.org
        ReportedBy: johannespfau gmail.com

This test is currently failing:
    byte* p;

        assert(p.sizeof == 4);
    else version(X86_64)
        assert(p.sizeof == 8);
        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.
Sep 25 2012