[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#518642: additional info on bug 518642



I have the same bug on my lenny box.  The code fragment (from a long
program) that causes the bug is:

	OPEN (5, FILE=TBLFIL, STATUS='OLD', ERR=99)
	Read(5,25)
   25   FORMAT(A80)

The trouble appears to be triggered in parsing the format statement.
Here's the relevant portion of a backtrace:

#0  0xb7fa3a2d in next_char (fmt=0x9050438, literal=0)
    at ../../../src/libgfortran/io/format.c:91
#1  0xb7fa3ab1 in format_lex (fmt=0x9050438)
    at ../../../src/libgfortran/io/format.c:181
#2  0xb7fa48a1 in *_gfortrani_parse_format (dtp=0xbfdf8880)
    at ../../../src/libgfortran/io/format.c:981
#3  0xb7fb1000 in data_transfer_init (dtp=0xbfdf8880, read_flag=1)
    at ../../../src/libgfortran/io/transfer.c:1827
#4  0xb7fb152e in *_gfortran_st_read (dtp=0xbfdf8880)
    at ../../../src/libgfortran/io/transfer.c:2816

As the original reporter found, removing -malign-double from the options
cures the problem.

	-- A.T.Young   (aty@mintaka.sdsu.edu)



Reply to: