|Subject:||AW: [avr-gcc-list] An old but unfixed bug|
|Date:||Wed, 22 Aug 2001 12:01:26 +0200|
> It seems it is not even working with integers ...
> Look at this code, which i guess loops forever:
> volatile unsigned char x;
> unsigned int i;
> void main(void)
> for(i = 1000; i <= 0xFFFF; i++)
> x = 0;
well, i as an unsigned integer will be smaller or equal as 0xFFFF for every possible value.
Loops forever and no need to change i at any time.
|[Prev in Thread]||Current Thread||[Next in Thread]|