[fpc-devel] Bad code generation on linux x86_64

C Western l at c-m-w.me.uk
Sun May 21 11:52:21 CEST 2017


On 21/05/17 10:23, C Western wrote:
> On 21/05/17 08:45, Florian Klämpfl wrote:
>> Am 20.05.2017 um 10:50 schrieb C Western:
>>> The following revision seems to be generating bad code for me on 
>>> linux/x86_64:
>>
>> Can you please change line 26 in fpc compiler/x86/aoptx86.pas from
>> { $define DEBUG_AOPTCPU}
>> to
>> {$define DEBUG_AOPTCPU}
>>
>> and post the assembler output again?

If you are interested, the internal error with the above change and 
r36278 is:

/home/me/fpc/trunk/fpcsrc/compiler/ppc1 -Ur -Ur -Xs -O2 -n -Fi../inc 
-Fi../x86_64 -Fi../unix -Fix86_64 -FE. 
-FU/home/me/fpc/trunk/fpcsrc/rtl/units/x86_64-linux -Cg -dx86_64 
-dRELEASE -Fi../objpas/sysutils ../unix/sysutils.pp
sysutils.pp(1654,4) Fatal: Internal error 200905042
Fatal: Compilation aborted
Makefile:3783: recipe for target 'sysutils.ppu' failed



More information about the fpc-devel mailing list