[Issue 7] New: ARM: runnable/aliasthis.d fails with -O2

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


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

             Bug #: 7
           Summary: ARM: runnable/aliasthis.d fails with -O2
    Classification: Unclassified
           Product: GDC
           Version: development
          Platform: ARM
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gdc
        AssignedTo: ibuclaw at gdcproject.org
        ReportedBy: johannespfau at gmail.com


Created attachment 4
  --> http://gdcproject.org/bugzilla/attachment.cgi?id=4
reduced test case

There's a failing assert in the testsuite in runnable/aliasthis.d if compiling
with -O2. This does not happen when compiling with -O1. It also does't happen
on x86/x86-64.

Output:
core.exception.AssertError at aliasthis.d(25): Assertion failure
----------------
_Dmain at crtstuff.c:0
_D2rt6dmain24mainUiPPaZi7runMainMFZv at
/home/pi/objdir/arm-linux-gnueabihf/libphobos/libdruntime/../../../../gcc-4.8-20120826/libphobos/libdruntime/rt/dmain2.d:569
_D2rt6dmain24mainUiPPaZi7tryExecMFMDFZvZv at
/home/pi/objdir/arm-linux-gnueabihf/libphobos/libdruntime/../../../../gcc-4.8-20120826/libphobos/libdruntime/rt/dmain2.d:556
_D2rt6dmain24mainUiPPaZi6runAllMFZv at
/home/pi/objdir/arm-linux-gnueabihf/libphobos/libdruntime/../../../../gcc-4.8-20120826/libphobos/libdruntime/rt/dmain2.d:579
_D2rt6dmain24mainUiPPaZi7tryExecMFMDFZvZv at
/home/pi/objdir/arm-linux-gnueabihf/libphobos/libdruntime/../../../../gcc-4.8-20120826/libphobos/libdruntime/rt/dmain2.d:556
main at
/home/pi/objdir/arm-linux-gnueabihf/libphobos/libdruntime/../../../../gcc-4.8-20120826/libphobos/libdruntime/rt/dmain2.d:592
onAssertError at
/home/pi/objdir/arm-linux-gnueabihf/libphobos/libdruntime/../../../../gcc-4.8-20120826/libphobos/libdruntime/core/exception.d:404
----------------

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