This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [Fortran, committed (branch and trunk)] Fix unsigned CHARACTER*1 regression.
- To: gcc-patches at gcc dot gnu dot org
- Subject: Re: [Fortran, committed (branch and trunk)] Fix unsigned CHARACTER*1 regression.
- From: Toon Moene <toon at moene dot indiv dot nluug dot nl>
- Date: Sun, 03 Jun 2001 17:01:18 +0200
- Organization: Moene Computational Physics, Maartensdijk, The Netherlands
- References: <3B19097B.C47D1425@moene.indiv.nluug.nl>
I wrote:
> Jakub Jelinek pointed out to me that
>
> program test
> integer ic
> character*1 ch
> ch=char(255)
> ic=ichar(ch)
> print *,ic
> end
>
> prints `-1' with the current branch and trunk, whereas it printed `225'
^^^
> with gcc/g77-2.95.3 and earlier.
It goes to show that no-one reads this stuff, anyway.
I should start to insert typo's like this one in more interesting
"environments" to see if everybody's awake :-)
--
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)