This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/52512] Cannot match namelist object name
- From: "anlauf at gmx dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 06 Mar 2012 21:43:47 +0000
- Subject: [Bug fortran/52512] Cannot match namelist object name
- Auto-submitted: auto-generated
- References: <bug-52512-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52512
Harald Anlauf <anlauf at gmx dot de> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |anlauf at gmx dot de
--- Comment #2 from Harald Anlauf <anlauf at gmx dot de> 2012-03-06 21:43:47 UTC ---
(In reply to comment #1)
> At line 20 of file test.f90
> Fortran runtime error: Cannot match namelist object name 'alkalini',
>
> (Also fails with GCC 4.1, 4.3 and 4.8.)
>
> Cf. PR 51825 and PR 49791.
Playing around with the namelist, I find:
&namtoptrc
getal = 7
tracer(1:1) = 'DIC ', .true.
tracer(2:2) = 'Alkalini', .true.
tracer(3:3) = 'O2 ', .true.
/
works.
&namtoptrc
getal = 7
tracer(1:1) = 'DIC ', .true.
tracer(2:2) = 'Alkalini', .true.
tracer(3 ) = 'O2 ', .true.
/
works.
&namtoptrc
getal = 7
tracer(1:1) = 'DIC ', .true.
tracer(3 ) = 'O2 ', .true.
tracer(2 ) = 'Alkalini', .true.
/
But many variations fail, producing different error messages.