Ryan Joseph <r...@thealchemistguild.com> schrieb am Mo., 28. Mai 2018,
07:05:

> What happens when you have both those switches on at the same time? Does
> the -gw affect the performance or just output information in addition to
> the optimized compilation?
>

The generation of debug information does not affect the performance of the
final binary (except maybe load time, but that depends on the OS).
However if you want to do single step debugging it is recommended to
disable any optimizations (or at least use only -O1) as otherwise there
might be surprises when debugging due to the reordered/optimized code.

Regards,
Sven

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

Reply via email to