(j3.2006) Constraint for Coarrays and pointer attribute
Bader, Reinhold
Reinhold.Bader
Mon Jul 14 17:35:53 EDT 2014
Hello Tobias,
the prohibition you look for is C546 (5.3.14 of 007).
Cheers
Reinhold
> -----Urspr?ngliche Nachricht-----
> Von: j3-bounces at mailman.j3-fortran.org [mailto:j3-bounces at mailman.j3-
> fortran.org] Im Auftrag von Tobias Burnus
> Gesendet: Montag, 14. Juli 2014 21:33
> Cc: J3 Mailing List
> Betreff: (j3.2006) Constraint for Coarrays and pointer attribute
>
> Hello,
>
> I am pretty sure that the following is not permitted, however, I cannot
> find the constraint:
>
> integer, save, pointer :: caf[*]
>
> I looked through F2008 and the corrigenda, but I couldn't find the
> something. Can someone point me to the right spot? Or is this an
> omission in the standard?
>
> It does not seem to violate the constraint:
> "C526 A coarray or an object with a coarray ultimate component shall be
> a dummy argument or have the ALLOCATABLE or SAVE attribute."
> (BTW: Using a "[:]" is no permitted per C528. But "[*]" seems to be
> permitted.)
>
> Tobias
> _______________________________________________
> J3 mailing list
> J3 at mailman.j3-fortran.org
> http://mailman.j3-fortran.org/mailman/listinfo/j3
More information about the J3
mailing list