On Sat, Sep 4, 2021 at 3:26 AM Gennady Agranov via fpc-devel <fpc-devel at lists.freepascal.org> wrote: IIRC then there were som bugs regarding optimization in win64. You can try to compile with optimizations disabled: -O- (or use the Lazarus dialog to do so). -- Bart