Special method used to generate powerpc-linux 3.2.2 distribution svn version is 1:1603 Starting with release compiler /home/muller/pas/fpc-3.2.0-32/bin/ppcppc /home/muller/pas/fpc-3.2.0-32/bin/ppcppc -iVDWSOSPTOTP: 3.2.0 2020/06/05 3.2.0 linux powerpc linux powerpc /usr/bin/gmake cycle OPT="-n -gl" FPC=/home/muller/pas/fpc-3.2.0-32/bin/ppcppc cp ./ppcppc /home/muller/pas/release-build/release_3_2_2/fpcsrc/compiler/ppcppc-3.2.2 cp ./ppcppc ./ppcppc-3.2.2 Generated on machine: Linux gcc1-power7.osuosl.org 3.10.0-862.14.4.el7.ppc64 #1 SMP Wed Sep 26 20:38:32 GMT 2018 ppc64 ppc64 ppc64 GNU/Linux Starting ./install/makepack powerpc-linux with EXTRAOPT="-n -gl -vwx -Xd -vx -Fl/usr/lib -Fl/lib -Fd -Fl/usr/lib/gcc/ppc64-redhat-linux/4.8.5/32" Files /home/muller/pas/release-build/release_3_2_2/readme.powerpc-linux and fpc-3.2.2.powerpc-linux.tar uploaded Used slightly modified svn checkout /home/muller/bin/svn st -q M fpcsrc/compiler/cgobj.pas M fpcsrc/utils/fpcm/revision.inc /home/muller/bin/svn diff /home/muller/bin/svn diff fpcsrc Index: fpcsrc/compiler/cgobj.pas =================================================================== --- fpcsrc/compiler/cgobj.pas (revision 49399) +++ fpcsrc/compiler/cgobj.pas (working copy) @@ -1232,8 +1232,12 @@ shifted to the top of the to 4 resp. 8 byte register on the caller side and needs to be stored with those bytes at the start of the reference -> don't shift right } - else if (paraloc.shiftval<0) and - ((-paraloc.shiftval) in [8,16,32]) then + else if (paraloc.shiftval<0) +{$ifdef CPU64BITALU} + and ((-paraloc.shiftval) in [56{for byte},48{for two bytes},32{for four bytes}]) +{$else} + and ((-paraloc.shiftval) in [24{for byte},16{for two bytes}]) +{$endif} then begin a_op_const_reg_reg(list,OP_SHR,OS_INT,-paraloc.shiftval,paraloc.register,paraloc.register); { convert to a register of 1/2/4 bytes in size, since the Index: fpcsrc/utils/fpcm/revision.inc =================================================================== --- fpcsrc/utils/fpcm/revision.inc (revision 49399) +++ fpcsrc/utils/fpcm/revision.inc (working copy) @@ -1 +1 @@ -'2020-09-15 rev 46866' +'2021-05-13 rev 49358'