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

Jerry DeLisle <jvdelisle at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jvdelisle at gcc dot gnu.org
           Assignee|unassigned at gcc dot gnu.org      |jvdelisle at gcc dot 
gnu.org

--- Comment #3 from Jerry DeLisle <jvdelisle at gcc dot gnu.org> ---
In fortran/io.c we are excluding this case since it is not a variable. So we
should be able to accept in the case of READ from an expression type constant
and reject an attempt to WRITE to it. (at least intuitively it would seem OK to
do)

I have a partial patch.  I want to make sure there is no constraint in the
standards.  "scalar character variable" is fairly specific in standardese. My
guess is we never did the check for the vector case so it just works.

Reply via email to