public inbox for fortran@gcc.gnu.org
 help / color / mirror / Atom feed
* possible bug - coarray variable in a read statement
@ 2016-06-21 15:00 Anton Shterenlikht
  0 siblings, 0 replies; only message in thread
From: Anton Shterenlikht @ 2016-06-21 15:00 UTC (permalink / raw)
  To: fortran

     read( funit ) y2(:)[i]
                 1
Error: Non-variable expression in variable definition context (item in READ) at (1)

This error seems to be wrong.

The full code and a discussion:
 https://www.jiscmail.ac.uk/cgi-bin/webadmin?A2=comp-fortran-90;d3cec496.1606

I tried gfortran 6.0.0 20160410 on linux and
gcc6-devel-6.0.0.s20160320 on FreeBSD.

Thanks

Anton

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2016-06-21 15:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-06-21 15:00 possible bug - coarray variable in a read statement Anton Shterenlikht

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).