Re: [fpc-devel] Generic keywords mode switch

2022-06-13 Thread Sven Barth via fpc-devel
Hairy Pixels schrieb am Mo., 13. Juni 2022, 05:30: > Me and Sven had planned this a couple years ago and I finally got around > to it this weekend since it was pretty trivial. The reason for this being > we wanted a way to disable the generic keywords in ObjFPC mode. The > solution is to

[fpc-devel] Code generation in function with absolute Result construct and $O+

2022-06-13 Thread Arnstein Prytz via fpc-devel
I have come across what appears to be a code-generation bug when using 'absolute' to reference the 'Result' variable in a function with compiler directive $O+. Free Pascal Compiler version 3.2.2 [2021/07/09] for x86_64 Running under Linux Mint. The following program illustrates the problem, with