--- 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
--- 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
--- 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.
--
--- 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
--- 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
--- 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
--
What|Removed |Added
CC||pinskia at gcc dot gnu dot
||org
http://gcc.gnu.org/bugzilla/sh
--
What|Removed |Added
CC||fxcoudert at gcc dot gnu dot
||org
http://gcc.gnu.org/bugzilla/