[Bug libfortran/22412] New: Fortran B edit descriptor error
dje at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Mon Jul 11 18:08:00 GMT 2005
The negative-z-descriptor.f90 test for PR 22217 fails on the statement
using '(B65)' format with Fortran runtime error: Error 0. The error occurs in
list_read.c:next_char() when salloc_r returns NULL.
Leading up to this point, transfer.c:formatted_transfer() was invoked with
format B. As with the previous format statements, the function calls
unget_format(f), which places the format into the saved_format buffer.
Upon return from the I/O, finalize_transfer() is called leading to
namelist_read(). The calls to next_char() step through a buffer of spaces
reaching the end, NULL, causing the error. The format string in the
saved_format buffer is never seen.
--
Summary: Fortran B edit descriptor error
Product: gcc
Version: 4.1.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: libfortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: dje at gcc dot gnu dot org
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: powerpc-aix powerpc-darwin
GCC host triplet: powerpc-aix powerpc-darwin
GCC target triplet: powerpc-aix powerpc-darwin
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22412
More information about the Gcc-bugs
mailing list