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

burnus at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Aug 25 15:01:00 GMT 2011


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.



More information about the Gcc-bugs mailing list