• C166 BUG: V4.25 generates incorrect code
    To test the condition, I created new uVision project with default settings and compiled the following code: bit bit1, bit2 = 1; int i; __inline bit getbit(void) { return bit2; } void main(void)...
  • Bug in void* handling? (C166 V6.03)
    Hello All! I have a function which receives a void*: static dword queue[QUEUE_CNT][QUEUE_LEN]; static byte widx[QUEUE_CNT]; byte PutQueueItem( byte queueId, void* pItem ) { dword* pq = &queue...
  • Bug in void* handling? (C166 V6.03)
    Hello All! I have a function which receives a void*: static dword queue[QUEUE_CNT][QUEUE_LEN]; static byte widx[QUEUE_CNT]; byte PutQueueItem( byte queueId, void* pItem ) { dword* pq = &queue...
  • C166 BUG: V4.25 generates incorrect code
    To test the condition, I created new uVision project with default settings and compiled the following code: bit bit1, bit2 = 1; int i; __inline bit getbit(void) { return bit2; } void main(void)...
  • C166 Compiler bug - Anyone seen this before?
    Hi there, I have this odd issue. Seems to be a compiler bug. Create a new C166 ST10F276 project and put in this code and you will see it corrupt the user stack pointer! I know someone will say...