Re: [avr-gcc-list] [bug] cbi optimization error for 8-bit AVRs

2014-11-09 Thread Joern Rennecke
On 8 November 2014 00:32, Szikra István wrote: > Hi everyone! > > My problem in sort: I’m getting > in r24, 0x18 > ldi r25, 0x00 > andir24, 0xEF > out 0x18, r24 > instead of > cbi 0x18, 4 > . > > I’m trying to write efficient modern C/C+

Re: [avr-gcc-list] [bug] cbi optimization error for 8-bit AVRs

2014-11-09 Thread Joern Rennecke
On 8 November 2014 00:32, Szikra István wrote: > Unfortunately GCC support for AVR (among other things) is not always > flawless. And it changes from versions to version (and not always for the > better). regression tests can help to catch instances where the compiler looses functionality. I'm