On 24/06/2023 17:21, Hairy Pixels via fpc-pascal wrote:

On Jun 24, 2023, at 10:11 PM, Hairy Pixels <generic...@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.


-O-
also afaik -Si-

{$INLINE OFF}

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

_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to