This is the mail archive of the gcc-bugs@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]

Re: f77 signed ichar. How read unsigned ichar


Bjørn Elstad wrote:

> The problem:
> 
> I find no way to ensure that g77  2.96 ... behaves compatible with what I
> believe is Fortran 77. My example is ICHAR.

Well, strictly speaking it's implementation dependent for which
characters ICHAR will return the "obvious" number.

However, it is certainly true that g77-2.96 (a Red Hat release) did
ICHAR different from previous releases.

Fortunately, the problem was found and fixed before the 3.0 release;
please use that one (or rather, the new 3.0.1 release).

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
Join GNU Fortran 95: http://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]