PowerAda Compiling with Optimization

From OC Systems Wiki!
< PowerAda:Optimization
Revision as of 21:53, 14 April 2019 by imported>WikiVisor
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


To have the compiler perform optimization, the command syntax is:

ada [Options] -O [Options] FileName

where Options are other compiler options you may specify. The -O option causes the compiler to look for optimization opportunities on a global scale and a local scale; the global scale optimizations include inline expansion.

Note: Some information that the debugger and other compiler tools use is modified when optimization is applied. You may use the debugger on any compilation units compiled with -O, but the debugger may produce incorrect results.