[fpc-pascal] -O2 internal compiler errors

Karoly Balogh (Charlie/SGR) charlie at scenergy.dfmk.hu
Wed Nov 8 17:13:10 CET 2017


Hi,

On Wed, 8 Nov 2017, Ryan Joseph wrote:

> When I turn on -O2 I get a never ending stream of internal error
> 2009112601 which I think is from various inlined operator overloads
> (didn’t do much testing though). Is this a bug or are they not
> compatible?

Example code to trigger it please, if possible, also which CPU
architecture and OS?  An internal error is always a compiler bug which
we'd like to fix. If with nothing else, but with a more user readable
error message.

BTW, yes, it's possible that it has something to do with the inlining.
(More specifically, how the inlining interacts with some SIMD register
load/store, probably, but this is speculation.)

If you're using 3.0.2 you could also try if it still occurs with the
SVN trunk version.

Charlie


More information about the fpc-pascal mailing list