Bug creation and email sending has been disabled, file new bugs at gcc.gnu.org/bugzilla
Bug 7 - ARM: runnable/aliasthis.d fails with -O2
Summary: ARM: runnable/aliasthis.d fails with -O2
Status: RESOLVED WORKSFORME
Alias: None
Product: GDC
Classification: Unclassified
Component: gdc (show other bugs)
Version: development
Hardware: ARM Linux
: --- normal
Assignee: Iain Buclaw
URL:
Depends on:
Blocks:
 
Reported: 2012-09-25 09:07 CEST by Johannes Pfau
Modified: 2013-06-16 08:07 CEST (History)
0 users

See Also:


Attachments
reduced test case (461 bytes, text/x-dsrc)
2012-09-25 09:07 CEST, Johannes Pfau
Details
system / compier information (1.19 KB, text/plain)
2012-09-25 09:07 CEST, Johannes Pfau
Details

Note You need to log in before you can comment on or make changes to this bug.
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.