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

Dominique d'Humieres <dominiq at lps dot ens.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING
   Last reconfirmed|                            |2015-10-20
     Ever confirmed|0                           |1

--- Comment #5 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
> With current gfortran 4.7, the "x(10:)" program is accepted and the other
> one is rejected for "x(10)" with "must be simply contiguous" (which is true).
> Thus, the result is OK and only depends on what J3/WG5 regard as correct.

Confirmed from 4.8 up to trunk (6.0).

> TODO: Wait for the result of the IR.

>From my version of the Fortran 2015 draft

12.5.2.8 Coarray dummy variables

...

2 If the dummy argument is an array coarray that has the CONTIGUOUS attribute
  or is not of assumed shape, the corresponding actual argument shall be simply
  contiguous or an element of a simply contiguous array.

Does it means that gfortran is correct?

Reply via email to