------- Comment #4 from burnus at gcc dot gnu dot org  2010-03-02 15:12 -------
Jerry, you wrote almost exactly one month ago: "Funny how namelist always shows
up as we approach release." -- now that we have a new one: Does this mean that
we indeed approach a release? In any case, the half life time of namelist
issues has a larger 'tau" than I had hoped for.

 * * *
> > Luiz: Can you please state the version of gfortran?
>
> The Gfortran version is
> GNU Fortran (Ubuntu 4.4.1-4ubuntu9) 4.4.1

Thanks! That indicates that not only 4.3 but also 4.4 is affected (unless it
was fixed after 4.4.2; I still cannot test the 4.5 trunk).

> > Additionally: For a good bugreport, please also include a minimal example.
> > Without an example (Fortran code) it is most of the time impossible to find 
> > > > a bug.
> I do not have a minimal example.

It was more a general remark as I am reasonable sure that the example I have
posted (comment 1) is the issue you are seeing. Thus, there is no immediate
need for another example. I suggest to wait for a fix and then try re-try your
real program with a fixed gfortran.

 * * *

As work around, you can also try to input your data differently. Instead of
using:
  a(1,:) = ...
you can use:
  a(1,1) = ..., a(1,2) = ...
which should work.

There are also other combinations which work, such as a(:,:)= or a(:,1) but
here, one needs to re-order the elements and thus needs to be extra careful.


-- 


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

Reply via email to