This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: G77: bitwise .AND. ?
- From: Toon Moene <toon at moene dot indiv dot nluug dot nl>
- To: Hassan Aurag <hassan dot aurag at cae dot com>
- Cc: gcc-help at gcc dot gnu dot org
- Date: Tue, 23 Apr 2002 23:23:31 +0200
- Subject: Re: G77: bitwise .AND. ?
- Organization: Moene Computational Physics, Maartensdijk, The Netherlands
- References: <1019581017.2689.12.camel@l0553>
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)