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: "burnus at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 25 Aug 2011 14:28:03 +0000
- Subject: [Bug fortran/45859] [Coarray, F2008, IR] Rejects valid actuals to coarray dummies
- Auto-submitted: auto-generated
- References: <bug-45859-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45859
--- Comment #4 from Tobias Burnus <burnus at gcc dot gnu.org> 2011-08-25 14:28:03 UTC ---
(In reply to comment #0)
> is supposed to be valid according the following IR. A modified program which
> uses
> call sub (x(10:))
> is unambiguously valid. However, both programs are rejected by:
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.
TODO: Wait for the result of the IR.