This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: f77 signed ichar. How read unsigned ichar
- To: Bjørn Elstad <Bjorn dot Elstad at ephorma dot no>
- Subject: Re: f77 signed ichar. How read unsigned ichar
- From: Toon Moene <toon at moene dot indiv dot nluug dot nl>
- Date: Mon, 27 Aug 2001 09:29:47 -0700
- CC: "'gcc-bugs at gcc dot gnu dot org'" <gcc-bugs at gcc dot gnu dot org>
- Organization: Moene Computational Physics, Maartensdijk, The Netherlands
- References: <2593AE16E023D311BD4700508B0967A4A04C10@MIRANDA>
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)