------- 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

Reply via email to