This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch, fortran] more about namelists


Daniel,

I have applied the patch in

http://gcc.gnu.org/ml/gcc-patches/2007-07/msg02163.html

and gfortran.dg/namelist_33.f90 fails due to:

/opt/gcc/gcc-4.3-work/gcc/testsuite/gfortran.dg/namelist_33.f90:31.15:

  namelist /nml/ i
              1
Error: NAMELIST object 'i' was declared PRIVATE and cannot be member of PUBLIC namelist 'nml' at (1)
/opt/gcc/gcc-4.3-work/gcc/testsuite/gfortran.dg/namelist_33.f90:35.11:

  USE types
          1
Fatal Error: Can't open module file 'types.mod' for reading at (1): No such file or directory

As far as I can tell the unpatched test passed before the test. Is

  integer, private :: i
  namelist /nml/ i

allowed or is there a missing dg-error? or did I miss something?

Dominique

PS the regtest of gfortran passed without further glitch.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]