Wrong result with typed constants in amd64
Original Reporter info from Mantis: FPCCore
-
Reporter name: FPC core team
Original Reporter info from Mantis: FPCCore
- Reporter name: FPC core team
Description:
If a typed constant with a function call are used in the same expression, the result will be 0.0 if you compile (and run) on amd64. But this works as expected on i386. The program example shows one case where this behavior happens.
Moreover, if this construct is used inside another function, a run error (207) occurs.
Additional information:
Reporter: Persio Barros
EMail: persiobarros at hotmail dot com
Mantis conversion info:
- Mantis ID: 6126
- OS: Linux
- Fixed in version: 2.0.4
- Fixed in revision: 3922 (#d69d4d58)