Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-devel / 2020-07

Tests for i36775

1 message · 1 person ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

J. Gareth Moreton

Hi everyone,

I've finally managed to reproduce the Internal Error that's been appearing during the compilation of Lazarus for a while.  They are slightly complex since the prerequisites for raising the internal error are rather contrived.  It seems related to Result being a managed type (e.g. an object), it being written to and read from, or simply compared.  I have written four tests... actually they're all the same test, but three of them apply different optimisations: -O2, -O3 and -O4.

https://bugs.freepascal.org/view.php?id=36775

Let me know if this cleanly reveals the error and the patch supplied already in the report fixes the bug.

Gareth aka. Kit

This email has been checked for viruses by Avast antivirus software. https://www.avast.com/antivirus

Reply by email