[fpc-devel] Bad code generation on linux x86_64

Florian Klämpfl florian at freepascal.org
Sun May 21 17:08:17 CEST 2017


Am 21.05.2017 um 13:21 schrieb C Western:
> On 21/05/17 11:56, Florian Klämpfl wrote:
>> Am 21.05.2017 um 11:23 schrieb C Western:
>>> 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?
>>>
>>> See below.
>>
>> Thanks. Last request ;): please send me the same output but compile additionally with -Oonopeephole
> 
> This code doesn't crash:

Can you please test without the -Oonopeephole and r36284?




More information about the fpc-devel mailing list