www.digitalmars.com         C & C++   DMDScript  

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

http://gdcproject.org/bugzilla/show_bug.cgi?id=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 gdcproject.org
        ReportedBy: johannespfau 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 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.
Sep 25 2012