[fpc-pascal] Arguments gets corrupted with anonymous nested function

Sven Barth pascaldragon at googlemail.com
Wed Sep 7 14:11:08 CEST 2022


Peter B via fpc-pascal <fpc-pascal at lists.freepascal.org> schrieb am Mi., 7.
Sep. 2022, 13:58:

> I'm wondering if this is related to
> https://gitlab.com/freepascal.org/fpc/source/-/issues/38703
>
> That caused a parameter corruption in a standard function.
> https://lists.freepascal.org/pipermail/fpc-pascal/2022-March/060361.html
>
> Should be easy to check. Just try compiling with -O1
>

It's more likely (and also known!) that the compiler has a problem when
converting anonymous and/or nested functions.

Regards,
Sven

>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20220907/a35539fe/attachment.htm>


More information about the fpc-pascal mailing list