[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: "or" shortcut does not work - but why?
- From: roberto@... (Roberto Ierusalimschy)
- Date: Mon, 18 Jun 2007 09:48:57 -0300
> I'll try to look at the TEST instruction, as suggested by Nick.
A particularity of this instruction is that it assumes that "boolean
expressions" in C (tests, && and ||) always result in 1 for true (instead
of any non-zero value). Of course ANSI C ensures that, but maybe
the compiler is doing something wrong there?