This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libfortran/30193] Namelist issues when reading in asterisk preceeded arrays
- From: "jvdelisle at verizon dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 14 Dec 2006 00:12:48 -0000
- Subject: [Bug libfortran/30193] Namelist issues when reading in asterisk preceeded arrays
- References: <bug-30193-10487@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #7 from jvdelisle at verizon dot net 2006-12-14 00:12 -------
Subject: Re: Namelist issues when reading in asterisk
preceeded arrays
Thanks for checking the latest 4.1, I just updated my 4.1 branch last night and
I had not had a chance to check it.
Also, the namelist I/O predates the existence of array triplet notation. It is
common to interpret ihp(1,1) = 2*1 to mean fill out the array from that
starting element.
You will see that if you compile the example with -pedantic that you will get:
$./a.out
At line 16 of file name.f90
Fortran runtime warning: Non-standard expanded namelist read.
With -std=f95 we throw a runtime error.
gfortran knows its not standard. ;) (I implemented that feature after much
discussion on the list.)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30193