Pointers, -CA

The selection of the -CA compile-time option has the following effect on the runtime checking of pointers:

          - in a pointer assignment

          - as an argument to the associated intrinsic

          - as an argument to the present intrinsic

          - in the nullify statement

          - as an actual argument associated with a formal argument which has the pointer attribute

Allocatable Arrays

The selection of the -CA compile-time option causes code to be generated to test the allocation status of an allocatable array whenever it is referenced, except when it is an argument to the allocated intrinsic function. Error 459 as described in Runtime Errors will be reported at runtime if an error is detected.

 Assumed-Shape Arrays

The -CA option causes a validation check to be made, on entry to a procedure, on the definition status of an assumed-shape array. Error 462 as described in Runtime Errors will be reported at runtime if the array is disassociated or not allocated.

The compile-time option combination of -CA and -CU will additionally generate code to test whether, on entry to a procedure, the array is in the initially undefined state. If so, Error 463 as described in Runtime Errors.