This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC 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]

[Bug libfortran/40330] New: [4.4 Regression] incorrect IO


right now, 4.4 branch is broken for CP2K, there seems to be some error in
libfortran that causes incorrect writes. The diff in the restarts looks like:

56,58c56,58
<      &FORCEFIELD
<        PARMTYPE  CHM
<        PARM_FILE_NAME ../sample_pot/water.pot
---
>    FORCEFIELD,
>  ,PARMTYPE CHM
>  ,PARM_FILE_NAME../sample_pot/water.pot

so a leading & disappears, and whitespace is being replaced by ',' 

4.3.1 and 4.4.0 work fine, 4.4 branch is broken. However, using the 4.3.1
runtime with a 4.4 compiled binary is OK, so I guess it is libgfortran. I have
no testcase yet (other than running CP2K and inspect the restart), but will
delve into it.


-- 
           Summary: [4.4 Regression] incorrect IO
           Product: gcc
           Version: 4.4.1
            Status: UNCONFIRMED
          Keywords: wrong-code
          Severity: normal
          Priority: P3
         Component: libfortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: jv244 at cam dot ac dot uk


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


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