This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/45859] [Coarray, F2008, IR] Rejects valid actuals to coarray dummies
- From: "dominiq at lps dot ens.fr" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 20 Oct 2015 16:45:30 +0000
- Subject: [Bug fortran/45859] [Coarray, F2008, IR] Rejects valid actuals to coarray dummies
- Auto-submitted: auto-generated
- References: <bug-45859-4 at http dot gcc dot gnu dot org/bugzilla/>
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?