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!
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!
链接已复制
0 回复数
