Every piece of software has bugs. Although the next list seems outdated (maybe the bugs has been fixed since then) one can notice that the compiler is bug-free: AVR Toolchain Bugs
Here you can see the left-shift problem: avr gcc - Is there a bug when bit-shifting on the avr-gcc compiler? - Stack Overflow If that's not a bug, what it is?