This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: RFC: 64-bit variables in libf2c


Josef Zlomek wrote:

on 64-bit machines, some programs in Fortran with direct access IO and
recordlength > 2 GB abort in read (c_due()) because
 (cast to 32-bit int) 64-bit_value < 0.

So I tried to replace some types with 64-bit types for IO functions,
see the attached patch. But the 64-bit types are used also on 32-bit
targets :-(

I hoped it would be less invasive then that, but you have to give me more time to look into it.


I'll file a bug report against libf2c ...

Cheers,

--
Toon Moene - mailto:toon@moene.indiv.nluug.nl - phoneto: +31 346 214290
Saturnushof 14, 3738 XG  Maartensdijk, The Netherlands
Maintainer, GNU Fortran 77: http://gcc.gnu.org/onlinedocs/g77_news.html
GNU Fortran 95: http://gcc-g95.sourceforge.net/ (under construction)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]