Hi,
I found my post on stackoverflow: avr gcc - Is there a bug when bit-shifting on the avr-gcc compiler? - Stack Overflow