Bug creation and email sending has been disabled, file new bugs at gcc.gnu.org/bugzilla

Bug 7

Summary: ARM: runnable/aliasthis.d fails with -O2
Product: GDC Reporter: Johannes Pfau <johannespfau>
Component: gdcAssignee: Iain Buclaw <ibuclaw>
Status: RESOLVED WORKSFORME    
Severity: normal    
Priority: ---    
Version: development   
Hardware: ARM   
OS: Linux   
Attachments: reduced test case
system / compier information

Description Johannes Pfau 2012-09-25 09:07:04 CEST
Created attachment 4 [details]
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
----------------
Comment 1 Johannes Pfau 2012-09-25 09:07:37 CEST
Created attachment 5 [details]
system / compier information
Comment 2 Johannes Pfau 2013-06-16 08:07:57 CEST
Can no longer reproduce this with a recent gdc/gcc combination.