https://gcc.gnu.org/bugzilla/show_bug.cgi?id=73142

            Bug ID: 73142
           Summary: Reading a namelist fails - my code worked until 4.8.2
           Product: gcc
           Version: 6.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: gwebe...@t-online.de
  Target Milestone: ---

Created attachment 39129
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=39129&action=edit
Minimum example

Hi folks,

I am using the GCC package for Windows provided by www.equation.com. It looks
like after version 4.8.2 a bug was introduced in the reading of namelists. The
reading is rubbish when the data file has a certain format. But at least in
Windows when you open the data file in a common editor you see identical
content to a version of the data file, which can be read correctly.

Attached please find the minimum example of my code. FileA.dat will work,
FileB.dat doesn't. There is no such problem when using GCC 4.8.2 and older
versions.
That the bug was introduced is a pity because the code that does not work right
now is part of a major Monte Carlo program used in high energy physics.

I would really appreciate if someone could fix this issue.

Sincerely,
Günter

Reply via email to