Invalid operand error on Cocoa with ppcrossa64/aarch64 compiler -O1 and -OoNoREGVAR
ppcrossa64 compiler is throwing an 'invalid operand for instruction' when code is compiled with -O1 and -OoNoREGVAR optimization flags. Error occurs for function with line: Inc(Result, 32). Example .pp file is attached. Compile line is:
../fpc/compiler/ppcrossa64 -O1 -OoNoREGVAR -Fu../fpc/rtl/units/aarch64-darwin Arm64Peep.pp