This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/36689] PRINT and WRITE eat minus sign
- From: "jvdelisle at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 2 Jul 2008 14:27:45 -0000
- Subject: [Bug fortran/36689] PRINT and WRITE eat minus sign
- References: <bug-36689-15865@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #5 from jvdelisle at gcc dot gnu dot org 2008-07-02 14:27 -------
To debug this we will probably need to get remote ssh access to a machine like
this. I can think of three possible causes of the problem at the moment.
1) The executable is accessing the wrong version of libgfortran. You might need
to set LD_LIBRARY_PATH.
2) The system has a broken printf or memory allocation.
3) Some sort of endianess or sizeof issue. For example, in some places in the
gfortran runtime library, characters are stored in type int. When moving bytes
around, an overwrite of the least signigicant byte may be happening.
Send me private email if you can give access to machine.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36689