aasmcpu.pas(1540,31) Error: Compilation raised exception internally
Original Reporter info from Mantis: fedan
-
Reporter name:
Original Reporter info from Mantis: fedan
- Reporter name:
Description:
If I compile the compiler with OPT="- O2 -OpCOREI -CpCOREI -CfSSE41 -g- -gl -Xs" flags, I get an error:
...
/bin/mkdir -p x86_64/units/x86_64-linux
/tmp/fpcbuild.tgUTXoMafs/fpcsrc/compiler/ppc1 -Ur -Xs -O2 -n -Fux86_64 -Fusystems -Fu/tmp/fpcbuild.tgUTXoMafs/fpcsrc/rtl/units/x86_64-linux -Fix86_64 -FE. -FUx86_64/units/x86_64-linux -Cg -dRELEASE -O2 -OpCOREI -CpCOREI -CfSSE41 -g- -gl -Xs -dx86_64 -dGDB -dBROWSERLOG -Fux86 -Sew pp.pas
aasmcpu.pas(1540,31) Error: Compilation raised exception internally
Fatal: Compilation aborted
An unhandled exception occurred at $00000000004F6A09:
EAccessViolation: Access violation
$00000000004F6A09 ELEMENTS, line 1181 of ncon.pas
Steps to reproduce:
make clean all OPT="-O2 -OpCOREI -CpCOREI -CfSSE41 -g- -gl -Xs" > build.log 2>&1
Additional information:
# Error -OpCOREI -CpCOREI -CfSSE41 # Error -OpCOREI -CpCOREI # Pass -OpCOREI # Error -CpCOREI # Error -OpCOREI -CfSSE41 -CpCOREI # Pass -OpCOREI -CfSSE41 # Error -CpCOREI -CfSSE41 # Error -CfSSE41 -CpCOREI
In fpc 3.0.5 (from fixes_3_0 branch, rev: 39664) it works.
Mantis conversion info:
- Mantis ID: 34305
- OS: Linux
- Build: fixes_3_2 rev: 39766
- Platform: x86_64
- Version: 3.2.0