[fpc-pascal] How does inline work?

Thierry Coq tcoq at free.fr
Sun Nov 22 15:12:09 CET 2009

Jonas Maebe wrote:
> On 22 Nov 2009, at 10:10, Thierry Coq wrote:
>> I'm trying to use inline to remove unnecessary debugging code, such as the following code, with FPC 2.3.1 on Windows, when compiling for production.
>> However when I compile the code, at O1 optimisation level (my default), the call to DebugInfo is still present in the generated assembler.
> Always provide a compilable sample with the full compiler invocation when reporting problems. After guessing how your the full source code looks and compiling it, the call is removed here:
Thank you very much. I guessed I was doing something wrong!

Best regards,

More information about the fpc-pascal mailing list