https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71723

--- Comment #8 from Walter Spector <w6ws at earthlink dot net> ---
Hi Janus,

The ifort compiler has no problem with your example in Comment #5.  That
example should be Standard Fortran 90.

The newer F2008 data pointer initialization stuff is largely in ยง4.5.4.6,
paragraph 2:

"A pointer variable or component is data-pointer-initialization compatible with
a target if the pointer is type compatible with the target, they have the same
rank, all nondeferred type parameters of the pointer have the same values as
the corresponding type parameters of the target, and the target is contiguous
if the pointer has the CONTIGUOUS attribute."

Note the repeated use of the word "target".  :)

Reply via email to