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,
Thierry
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to