Hi, > -----Original Message----- > From: Joerg Wunsch [mailto:[EMAIL PROTECTED] > Sent: Tuesday, March 27, 2007 9:51 AM > To: avr-gcc-list@nongnu.org > Cc: Schwichtenberg, Knut > Subject: Re: [avr-gcc-list] Inconsisten behaviour of switch statement > > Yes, but this is technically OK. The volatile variable is read > exactly once, and then the decision is based on the value cached in > register rr24/25. This is different from the behaviour you've been > describing in the initial posting (which I'd really consider erroneous > but could not reproduce so far).
At the meoment of reading Jörgs reply I wanted to become invisible by shame. I watched my original file and saw that playing around with different compares (if-than-else vs. switch) left the if-than-else alive and I comment-out the switch :-(. Conclusion: Monday is not my day especially after start of DST. Cheers Knut _______________________________________________ AVR-GCC-list mailing list AVR-GCC-list@nongnu.org http://lists.nongnu.org/mailman/listinfo/avr-gcc-list