This is the mail archive of the gcc-help@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: bitwise .AND. ?


Hassan Aurag wrote:

>  this is a small question. On IBM with xlf, if I do
> 
>         a = b .and. ( c .xor. TRUE )
> 
>  where TRUE = X'01010101', and a, b, c logical*4's equivalenced to 4
> logical*1's, I'd get the correct info in a, eg:
> 
>  a = X'01000100' for example.
> 
>  But here, I'd only get the boolean .AND. result so for example
> X'00000001'.
> 
>  Any options or ways of making g77 behave in the same way?

Please supply a complete, compilable example and I'll try to answer this
question.

Thanks,

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