[Bug c/39635] [avr] integer wrong code bug

2009-04-07 Thread wvangulik at xs4all dot nl
--- Comment #3 from wvangulik at xs4all dot nl 2009-04-07 13:26 --- (In reply to comment #2) > The problem is it uses R22 as loop counter and as the shift counter. I could > not (yet) reproduce the problem in a smaller example. This is my minimal test case: static uint16_t safe_lshift

[Bug c/39635] [avr] integer wrong code bug

2009-04-07 Thread wvangulik at xs4all dot nl
--- Comment #2 from wvangulik at xs4all dot nl 2009-04-07 09:51 --- The problem is it uses R22 as loop counter and as the shift counter. I could not (yet) reproduce the problem in a smaller example. This could be the same problem as: http://lists.gnu.org/archive/html/avr-gcc-list/2009-