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]

Re: [Fortran, committed (branch and trunk)] Fix unsigned CHARACTER*1 regression.


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)


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