--- Comment #1 from ek dot kato at gmail dot com 2007-11-29 13:18 ---
It turns out that my explanation and assumption about uninitialization was
wrong, but the real cause of the segmentation fault is that some functions call
free_line(dtp) without resetting line_buffer_enabled. Here is
--- Comment #2 from aldot at gcc dot gnu dot org 2007-11-29 13:27 ---
Can you please provide a testcase for the testsuite?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34291
--- Comment #3 from burnus at gcc dot gnu dot org 2007-11-29 15:01 ---
Jerry, libgfortran IO is your domain...
--
burnus at gcc dot gnu dot org changed:
What|Removed |Added
--- Comment #4 from ek dot kato at gmail dot com 2007-11-30 01:11 ---
I can't provide a simple test case sorry, but I now realized that it seems to
be related that READ() for a namelist file ended with END instead of /
causes the problem.
I use a library which creates namelist file by
--- Comment #6 from jvdelisle at gcc dot gnu dot org 2007-11-30 04:04
---
I will get on this soon.
--
jvdelisle at gcc dot gnu dot org changed:
What|Removed |Added
--- Comment #5 from ek dot kato at gmail dot com 2007-11-30 02:39 ---
Maybe I could find a reliable testcase for the problem. Following program will
crash while accessing dtp-u.p.line_buffer[dtp-u.p.item_count].
IMPLICIT NONE
CHARACTER(len=10), DIMENSION(2) :: var
NAMELIST