[Bug libfortran/22412] Fortran B edit descriptor error

2005-07-11 Thread cvs-commit at gcc dot gnu dot org
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-07-12 03:27 --- Subject: Bug 22412 CVSROOT:/cvs/gcc Module name:gcc Changes by: [EMAIL PROTECTED] 2005-07-12 03:27:41 Modified files: libgfortran: ChangeLog libgfortran/io : w

[Bug libfortran/22412] Fortran B edit descriptor error

2005-07-11 Thread dje at gcc dot gnu dot org
--- Additional Comments From dje at gcc dot gnu dot org 2005-07-11 22:02 --- I'm pretty sure the problem is the line p = scratch + sizeof (SCRATCH_SIZE) - 1; SCRATCH_SIZE is the size of the buffer. sizeof (SCRATCH_SIZE) probably is not what the author meant. -- http://gcc.gnu.org

[Bug libfortran/22412] Fortran B edit descriptor error

2005-07-11 Thread dje at gcc dot gnu dot org
--- Additional Comments From dje at gcc dot gnu dot org 2005-07-11 21:57 --- btoa() is overwriting the buffer scratch. Although btoa() is in write.c, the buffer scratch is defined in transfer.c, so optimizing transfer.c changes the placement of scratch and exposes the failure. --

[Bug libfortran/22412] Fortran B edit descriptor error

2005-07-11 Thread dje at gcc dot gnu dot org
--- Additional Comments From dje at gcc dot gnu dot org 2005-07-11 20:53 --- Killed when calling btoa() for conversion. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22412

[Bug libfortran/22412] Fortran B edit descriptor error

2005-07-11 Thread dje at gcc dot gnu dot org
--- Additional Comments From dje at gcc dot gnu dot org 2005-07-11 20:50 --- transfer integer appears to be overwriting the variable ionml when operating on B edit descriptor. Prior to the function, ionml is NULL, after the function, the value is 0x31313131. -- What|R

[Bug libfortran/22412] Fortran B edit descriptor error

2005-07-11 Thread dje at gcc dot gnu dot org
--- Additional Comments From dje at gcc dot gnu dot org 2005-07-11 20:08 --- Something appears to be going wrong in io/transfer.c. If I compile that file without optimization, the testcase passes, with optimization it fails. I suspect it might be an uninitialized variable (ionml?) as

[Bug libfortran/22412] Fortran B edit descriptor error

2005-07-11 Thread dje at gcc dot gnu dot org
-- What|Removed |Added CC||pinskia at gcc dot gnu dot ||org http://gcc.gnu.org/bugzilla/sh

[Bug libfortran/22412] Fortran B edit descriptor error

2005-07-11 Thread dje at gcc dot gnu dot org
-- What|Removed |Added CC||fxcoudert at gcc dot gnu dot ||org http://gcc.gnu.org/bugzilla/