[patch, libgfortran] Merge of fortran-dev IO to trunk
Steve Ellcey
sje@cup.hp.com
Mon Apr 6 16:12:00 GMT 2009
I believe the fortran-dev merge is causing many failures on my
IA64 HP-UX platform. I am getting a bus error at line 154 of
io/read.c in the Fortran library:
(gdb) r
Starting program: /proj/opensrc/nightly/build-ia64-hp-hpux11.23-trunk/x
Program received signal SIGBUS, Bus error
si_code: 1 - BUS_ADRALN - Invalid address alignment.
0x9fffffffbd717700:0 in *_gfortrani_convert_real (dtp=0x9fffffffffffef80,
dest=0x9ffffffffffff07c, buffer=0x6000000000021de0 "1", length=8)
at /proj/opensrc/nightly/src/trunk/libgfortran/io/read.c:154
154 *((GFC_REAL_8*) dest) = strtod (buffer, NULL);
This is because the dest buffer does not have the needed alignment to
hold the double value being written into it here. I will submit a
PR for this bug.
Steve Ellcey
sje@cup.hp.com
More information about the Fortran
mailing list