f77 signed ichar. How read unsigned ichar

Toon Moene toon@moene.indiv.nluug.nl
Mon Aug 27 10:06:00 GMT 2001


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)



More information about the Gcc-bugs mailing list