------- Additional Comments From fxcoudert at gcc dot gnu dot org  2005-03-23 
22:58 -------
Using testcase from comment #2, I don't get a runtime error but the program
hangs out forever:

Program received signal SIGINT, Interrupt.
0x0806b971 in memset ()
Current language:  auto; currently asm
(gdb) where
#0  0x0806b971 in memset ()
#1  0x08048ba1 in *_gfortrani_read_block (length=0xbffff7a4)
    at ../../../gcc/libgfortran/io/transfer.c:153
#2  0x080529b8 in *_gfortrani_read_x (f=0x0)
    at ../../../gcc/libgfortran/io/read.c:726
#3  0x08049b72 in formatted_transfer (type=BT_CHARACTER, p=0xbffff8e4, len=16)
    at ../../../gcc/libgfortran/io/transfer.c:684
#4  0x08048f77 in *_gfortran_transfer_character (p=0xbffff8d4, len=16)
    at ../../../gcc/libgfortran/io/transfer.c:820
#5  0x080482e9 in MAIN__ ()
#6  0x080483b8 in main (argc=1, argv=0xbffffb54)
    at ../../../gcc/libgfortran/fmain.c:18


This behavior is, I think, due to the T edit descriptor. From what I have seen,
T and TL descriptors are incorrectly handled in library (see PR16436).

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |fxcoudert at gcc dot gnu dot
                   |                            |org
   Last reconfirmed|2005-02-27 18:41:12         |2005-03-23 22:58:22
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20236

Reply via email to