This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/45859] [Coarray, F2008, IR] Rejects valid actuals to coarray dummies


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]