[fpc-devel] What means -Oodfa ?

Juha Manninen juha.manninen62 at gmail.com
Sun Mar 22 11:12:42 CET 2015


Referring to this old issue :
  http://bugs.freepascal.org/view.php?id=20907
I was told that compiling with -Oodfa reports uninitialized String
result values.
Indeed it does, I spotted many of them in Lazarus sources.

However "fpc -h" does not mention these options. What do they mean?
There is :

  -Oo[NO]<x> Enable or disable optimizations; see fpc -i or fpc -io
for possible values

then

$ fpc -io
REGVAR
STACKFRAME
PEEPHOLE
LOOPUNROLL
TAILREC
CSE
DFA
USERBP
ORDERFIELDS
FASTMATH
REMOVEEMPTYPROCS
CONSTPROP

Nothing about 'd', 'f' or 'a'.
This also affects the "All Options" GUI in Lazarus. It can nicely read
and show options using the new improved fpc -h and fpc -i output.

Regards,
Juha



More information about the fpc-devel mailing list