This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: bug in gfortran : achard(34) is buggy


tobi,


your patch compiles, works, and causes no new failures
in the testsuite...applied against a checkout of
'trunk' this morning.

tested i686/gnu/linux.


--bud


--- tobias.schlueter@physik.uni-muenchen.de wrote:

> Quoting gerdy <cgerdy@wanadoo.fr>:
> > I have found a bug in gfortran Windows and Linux
> version :
> >
> > When you use achard(34) you must obtain the ASCII
> character of number
> > 34 : " the double quot
> > you obtain ' the sinble quot.
> 
> Indeed, the patch below should fix this.
> 
> > You must verify all the values of achard() and
> iachard()
> 
> I did, and this seems to have been the only error.
> 
> > Can you quote my Home page as an editor for
> Fortran between others?.
> 
> How about adding another section under 'Using
> gfortran" in the wiki?  
> <http://gcc.gnu.org/wiki/GFortran>
> 
> I would commit the patch as obvious, but
> unfortunately, since I  
> upgraded gmp and mpfr I can't link gcc anymore, so
> I'll have to defer  
> to someone else for the obligatory testing.
> 
> - Tobi
> 
> 2006-04-29  Tobias Schlueter 
> <tobias.schlueter@physik.uni-muenchen.de>
> 
>         * simplify.c (ascii_table): Fix wrong entry.
> 
> Index: simplify.c
>
===================================================================
> --- simplify.c  (revision 113297)
> +++ simplify.c  (working copy)
> @@ -72,7 +72,7 @@ static int ascii_table[256] = {
>     '\b', '\t', '\n', '\v', '\0', '\r', '\0', '\0',
>     '\0', '\0', '\0', '\0', '\0', '\0', '\0', '\0',
>     '\0', '\0', '\0', '\0', '\0', '\0', '\0', '\0',
> -  ' ', '!', '\'', '#', '$', '%', '&', '\'',
> +  ' ', '!', '"', '#', '$', '%', '&', '\'',
>     '(', ')', '*', '+', ',', '-', '.', '/',
>     '0', '1', '2', '3', '4', '5', '6', '7',
>     '8', '9', ':', ';', '<', '=', '>', '?',
> 
> 
> 
>
----------------------------------------------------------------
> This message was sent using IMP, the Internet
> Messaging Program.
> 
> 
> 


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