> With that in mind it might be due to my recent Currency changes.

If it is 0adf046ea0, there is an open report on that commit with reproducers:
41865. Four defects, all of them the nf_is_currency flag not surviving somewhere
- across a temp, across unary minus, across inlining, and the tightened
rescaling condition in tmoddivnode. Two have patches, two only a diagnosis
(div/mod and -Oofastmath). The two unpatched ones may be closer to what you are
looking at than the patched ones.

A data point from a third host, for what a negative is worth: on aarch64-win64
that cross build goes through. Same command as David's, trunk 416b51be87, at -O2
and at -O-, with and without the 41865 patches - no bad mov, no internal error.
Nothing in compiler/aarch64 or compiler/assemble.pas has changed since that
snapshot, and 0adf046ea0 is in it, so it does not look like a newer regression
on that side. Which would leave the host ABI as the difference against your
Linux and David's Darwin.

Sven

_______________________________________________
fpc-devel maillist  -  [email protected]
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel

Reply via email to