[fpc-devel] DWARF info may be incorrect for location-expression, when value is in register

2021-10-23 Thread Martin via fpc-devel
Could anyone from the team comment on the following issue please? https://gitlab.com/freepascal.org/lazarus/lazarus/-/merge_requests/28 It seems with -O2 FPC may set the location of a variable to a register (which is correct). But it then attempts    DW_OP_push_object_address, DW_OP_deref which

Re: [fpc-devel] DWARF info may be incorrect for location-expression, when value is in register

2021-10-23 Thread Martin via fpc-devel
On 23/10/2021 14:04, Martin via fpc-devel wrote: Could anyone from the team comment on the following issue please? https://gitlab.com/freepascal.org/lazarus/lazarus/-/merge_requests/28 It seems with -O2 FPC may set the location of a variable to a register (which is correct). But it then attemp

[fpc-devel] DWARF info may be incorrect for location-expression, when value is in register

2021-10-23 Thread Martin via fpc-devel
Could anyone from the team comment on the following issue please? https://gitlab.com/freepascal.org/lazarus/lazarus/-/merge_requests/28 It seems with -O2 FPC may set the location of a variable to a register (which is correct). But it then attempts    DW_OP_push_object_address, DW_OP_deref which

Re: [fpc-devel] Currency * Double

2021-10-23 Thread Virgo Pärna via fpc-devel
On Fri, 22 Oct 2021 08:42:57 +0200, LacaK via fpc-devel wrote: > Hi , > what data type is result of multiplication of: (Currency * Double) on > Win64 (and on Win32)? >   c:=1115; >   d:=1; >   writeln(Round(c*d)); // gives -72967440737 32 bit version gives always 1115