[fpc-devel] FPC trunk building lazarus trunk fails with compiler AV ?

Karoly Balogh charlie at scenergy.dfmk.hu
Mon Dec 13 16:36:29 CET 2021


Hi,

On Mon, 13 Dec 2021, Yuriy Sydorov via fpc-devel wrote:

> > I've no doubt the problem is in the m68k target, and the IE only exposed
> > it, but regardless, register allocation is not one of my strenght, so
> > ideas welcomed.
>
> The new internal error catches incorrect usage of get_alias(). It is
> needed to always check if a register has the current regtype before
> passing the register to get_alias(). The following patch should fix
> m68k.

And indeed it did, so I committed it. Thanks a lot!

Charlie



More information about the fpc-devel mailing list