PowerAda Compiling with Optimization
From OC Systems Wiki!
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.
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.