https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92702

Tobias Burnus <burnus at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[F2008] (and hence [F2018]) |[F2008] (and hence [F2018])
                   |Implement VALUE support for |Implement VALUE support for
                   |arrays                      |arrays + deferred-length
                   |                            |parameters

--- Comment #1 from Tobias Burnus <burnus at gcc dot gnu.org> ---
The following restriction of F2003 is also gone:

C528   (R501) If the VALUE attribute is specified, the length type parameter
values shall be omitted or specified by initialization expressions.

F2008 + F2018 permit them.

Implementation choice (for characters and arrays): One can pass those with
known bounds as ARRAY_TYPE (i.e. by value) or one passes them as a pointer to
an ARRAY_TYPE (i.e. by reference).

Currently, for character they are passed by value as (known string-length)
ARRAY_TYPE.

Reply via email to