[fpc-pascal] 3123 inherited not supported inside inline

Martin Frb lazarus at mfriebe.de
Sat Jun 24 17:34:24 CEST 2023

On 24/06/2023 17:21, Hairy Pixels via fpc-pascal wrote:
>> On Jun 24, 2023, at 10:11 PM, Hairy Pixels <genericptr at gmail.com> wrote:
>> Doesn't this mean the compiler can dictate the binary size by inlining everything even if the programmer doesn't want that?
> and another thing, I have frequent problems with a crash which happens in an inlined function and it's now not possible to step into the code in the debugger. Now I can disable the inline and step in the function but if it was auto inlined that would be really bad. Maybe the debug info could fix this though? It's a general problem with inlined functions anyway.

also afaik -Si-


And, the compiler could write debug info were inlined code is. (Which 
then the debugger would also need to be taught to read)

More information about the fpc-pascal mailing list