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]
Other format: [Raw text]

Re: G77: patch to bitwise .AND. errors


Hassan Aurag wrote:

>  Looking at the sources of 2.95.1 of gcc, I have noticed that with
> -fugly-logint option all operations involving logicals would first cast
> logical to int except for logical operations.
> 
>  Now adding the casting section to the function that is called for
> logical operations fixes the issue I had before: bug #`fortran/6491'.
> 
>  Here is a patch. Now I'd love if someone knowledgeable took a look at
> it to check if it's crappy, dangerous, erroneous, stupid or what.

I'll look into it this weekend, unless someone beats me to it.

Thanks for the contribution - note that if it's larger than 15 lines of
code, we need an assignment for your code to the FSF (see the
"Contributing" item on our home page: http://gcc.gnu.org).

-- 
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]