[Bug fortran/52512] Cannot match namelist object name

burnus at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Mar 22 09:54:00 GMT 2013


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

Tobias Burnus <burnus at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |burnus at gcc dot gnu.org,
                   |                            |tiloschwarz at gcc dot
                   |                            |gnu.org

--- Comment #4 from Tobias Burnus <burnus at gcc dot gnu.org> 2013-03-22 09:54:32 UTC ---
Tilo has submitted patch for the original problem, which was meanwhile
approved:
http://gcc.gnu.org/ml/fortran/2013-03/msg00105.html


(In reply to comment #2)
> &namtoptrc
>    getal = 7
>    tracer(1:1) = 'DIC     ', .true.
>    tracer(2:2) = 'Alkalini', .true.
>    tracer(3  ) = 'O2      ', .true.
> /
> works.

It doesn't work here with 4.8.0_2013-03-08 - nor with 4.9 and Tilo's patch. The
"(3 )" causes "Bad character in index for namelist variable tracer".

It works if one removes the blank. (That's a regression with regards to GCC 4.1
and 4.4. It seems also to fail with recent libgfortran.so from the GCC 4.6 and
4.7 branches.)



More information about the Gcc-bugs mailing list