[fpc-devel] Can't compile 32 bit trunk on Mac OSX
Jonas Maebe
jonas at freepascal.org
Fri Aug 14 20:20:21 CEST 2020
On 14/08/2020 11:39, C Western wrote:
> I am not able to compile the current trunk for 32 bits on Mac OS High
> Sierra - some details below. (The 64 bit version compiles and runs
> fine.) Is this a specific issue with my setup, or something more general?
Seems like a peephole optimisation that doesn't understand symbol
differences:
# [3827] list.insertbefore(tai_comment.Create(strpnew('path:
'+infile.path)), hp);
leal -288(%ebp),%eax
call Lfpc_ansistr_decr_ref$stub
movw $0,(%esp)
movl -1108(%ebp),%eax
movl 4(%eax),%ecx
movl -1060(%ebp),%edx
>> leal _$$fpclocal$_ld66-Lj892+12(%edx),%eax
>> movl %eax,%edx
->
# [3827] list.insertbefore(tai_comment.Create(strpnew('path:
'+infile.path)), hp);
leal -288(%ebp),%eax
call Lfpc_ansistr_decr_ref$stub
movw $0,(%esp)
movl -1108(%ebp),%eax
movl 4(%eax),%ecx
movl -1060(%ebp),%edx
# Peephole Optimization: LeaMov2Lea done
# Peephole Optimization: Lea2Add done
>> addl $12,%edx
Jonas
More information about the fpc-devel
mailing list