------- Comment #4 from jb at gcc dot gnu dot org 2007-05-20 09:50 ------- (In reply to comment #3) > I see. With that in mind, I think the patch for PR31915 that went in as > r124741 > is incorrect (and I share some of the blame since I approved it). We should > use > the size argument the frontend provides to the unformatted_(read|write) > functions instead of calling the size_from_real_kind function.
Actually, shouldn't there be another libgfortran which is used when compiling with -m32? Sorry, I don't have a 64-bit box to test on. I have a hard time imagining that the 64-bit libgfortran would be ABI-compatible with the 32-bit one except for size_from_real_kind. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31933