This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Comparison
- From: "Michael Kukat" <michael at unixiron dot org>
- To: "John (Eljay) Love-Jensen" <eljay at adobe dot com>, gcc-help at gcc dot gnu dot org
- Date: Fri, 2 Mar 2007 13:27:56 +0100
- Subject: Re: Comparison
- References: <EDC8DDD212FEB34C884CBB0EE8EC2D9103B25B57@namailgen.corp.adobe.com>
Hi,
2007/3/2, John (Eljay) Love-Jensen <eljay@adobe.com>:
Isn't the result of a comparison, such as (x < y), an int -- regardless of the types of x and y?
Hm, may be. But i wonder why the variable ctr is then initialized as
16bit if just the comparison would be int. And i also assume, that
while((uint8_t)(++ctr < 64)) should avoid 16bit in this case, which it
doesn't. -mint8 creates lots of other problems, so i can't try this
out (besides this i don't really want to use this option :)
...Michael