Optimization, POINTERs, PURE, and ELEMENTAL

Optimization, POINTERs, PURE, and ELEMENTAL

How does the POINTER keyword affect the level of optimization the compiler can achieve? Similarly, what optimization benefits do I get from PURE and its friend ELEMENTAL?

On SGI, I know that the POINTER keyword seriously hampers the level of optimization that can be achieved. However, there are compiler directives that can be used to identify "safe" pointers and therefore allow the optimizer to proceed as normal. Does Compaq Fortran have similar restrictions and are there similar compiler directives I can use to identify safe pointers?

Thanks!

1 post / 0 new
For more complete information about compiler optimizations, see our Optimization Notice.