public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* G77: bitwise .AND. ?
@ 2002-04-23 11:55 Hassan Aurag
  2002-04-23 14:32 ` Toon Moene
  0 siblings, 1 reply; 7+ messages in thread
From: Hassan Aurag @ 2002-04-23 11:55 UTC (permalink / raw)
  To: gcc-help

 Hi,


 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?


 Thanks in advance for any help





^ permalink raw reply	[flat|nested] 7+ messages in thread
* RE: G77: bitwise .AND. ?
@ 2002-04-29 13:06 Hassan Aurag
  0 siblings, 0 replies; 7+ messages in thread
From: Hassan Aurag @ 2002-04-29 13:06 UTC (permalink / raw)
  To: 'Toon Moene', Hassan Aurag; +Cc: Hassan Aurag, gcc-help, Remi Simard

 I'll do that. It is also the same with OR and someone told me even
XOR??!!!!


-----Original Message-----
From: Toon Moene [mailto:toon@moene.indiv.nluug.nl]
Sent: Friday, April 26, 2002 4:02 PM
To: Hassan Aurag
Cc: Hassan Aurag; gcc-help@gcc.gnu.org; Remi Simard
Subject: Re: G77: bitwise .AND. ?


Hassan Aurag wrote:

> Ok the problem below is fixed by doing
> 
> and(ll4, true) instead of ll4.and.true
> 
> In my opinion, this is a bug in G77.

Yes, it could be argued that if we want to support -fugly-logint that
the code you supplied should work as-is.

Could you file a bug report using GNATS ?

Thanks in advance,

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2002-04-27 20:52 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-04-23 11:55 G77: bitwise .AND. ? Hassan Aurag
2002-04-23 14:32 ` Toon Moene
2002-04-24  7:25   ` Hassan Aurag
2002-04-24 14:32     ` Toon Moene
2002-04-26 11:47       ` Hassan Aurag
2002-04-27  3:32         ` Toon Moene
2002-04-29 13:06 Hassan Aurag

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).