[J3] Polymorphic dummy arrays
Daniel C Chen
cdchen at ca.ibm.com
Mon Jan 7 20:18:09 EST 2019
I am not aware of such a constraint either. XLF compiles both cases fine
and produce the expected result.
Daniel
XL Fortran Development, Fortran Standard Representative
IBM Toronto Software Lab
Phone: 905-413-3056
Tie: 969-3056
Email: cdchen at ca.ibm.com
http://www.ibm.com/software/awdtools/fortran/xlfortran
From: "Steidel, Jon L via J3" <j3 at mailman.j3-fortran.org>
To: General J3 interest list <j3 at mailman.j3-fortran.org>
Cc: "Steidel, Jon L" <jon.l.steidel at intel.com>
Date: 01/07/2019 06:32 PM
Subject: Re: [J3] Polymorphic dummy arrays
Sent by: "J3" <j3-bounces at mailman.j3-fortran.org>
R822 is for assumed-size arrays, where the last upper bound is an asterisk.
The question here is about assumed-shape arrays, where the bounds are
deferred (specified by colons).
-jon
-----Original Message-----
From: J3 [mailto:j3-bounces at mailman.j3-fortran.org] On Behalf Of Vipul
Parekh via J3
Sent: Monday, January 7, 2019 6:24 PM
To: General J3 interest list <j3 at mailman.j3-fortran.org>
Cc: Vipul Parekh <parekhvs at gmail.com>
Subject: Re: [J3] Polymorphic dummy arrays
On Mon, Jan 7, 2019 at 6:19 PM Bill Long via J3 <j3 at mailman.j3-fortran.org>
wrote:
>
> The original example did not have any assumed-size arrays. However, in
the case of the dummy being explicit-shape (dimension(1:2)) ..
Bill,
See R822 in 18-007r1:
10 R822 assumed-size-spec is explicit-shape-spec-list, assumed-implied-spec
Does this not mean the explicit-shape specification in the original example
is an assumed-size array dummy argument?
Regards,
Vipul
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.j3-fortran.org/pipermail/j3/attachments/20190107/53d07e88/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: graycol.gif
Type: image/gif
Size: 105 bytes
Desc: not available
URL: <https://mailman.j3-fortran.org/pipermail/j3/attachments/20190107/53d07e88/attachment-0001.gif>
More information about the J3
mailing list