http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46010
Summary: reading of structure
Product: gcc
Version: 4.5.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: fortran
AssignedTo: [email protected]
ReportedBy: [email protected]
Created attachment 22032
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=22032
program with the struct and input namelist file
I compiled the NEMO ocean model (revision 1162) with gfortran. If I now run
the program, I get nonsense (random memory) data written in the 2nd, 4th, 6th
etc. ocean tracer entry in my output. The relevant code and namelist file
needed for compilation and the relevant output are attached to this e-mail.
This problem arises with gfortran 4.1.2 (RHEL), 4.4.5 (Debian) and 4.5.1
(Arch), but it doesn't with the Intel Fortran Compiler (ifort). Please let me
know if you need other information.