------- Comment #3 from toon at moene dot org  2009-04-07 18:41 -------
Note that the namelist is overwriting earlier assignments, so it's doubtful
it's legal Fortran.

The original that got my colleague questioning gfortran was:

&namtest
 i(1,:)=1,2,3,
 i(2,:)=4,5,6,
 i(3,:)=7,8,9,
/

which, using gfortran version 4.3.3, gave the same (but for this example wrong)
results as the namelist submitted in this bug report.

gfortran 4.[45] does *this* one right.

So it might be a red herring - put bug report in waiting until I figured out
the exact language in the Standard that either allows or disallows the original
namelist.


-- 

toon at moene dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |WAITING


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39668

Reply via email to