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 _______________________________________________ fpc-devel maillist - fpc-devel@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel