http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39386
--- Comment #13 from Georg-Johann Lay <gjl at gcc dot gnu.org> 2011-07-25 15:45:51 UTC --- Author: gjl Date: Mon Jul 25 15:45:47 2011 New Revision: 176757 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=176757 Log: PR target/39386 Backport from mainline r176756 2011-07-25 Georg-Johann Lay * config/avr/avr.c (out_shift_with_cnt): Use tmp_reg as shift counter for x << x and x >> x shifts. Modified: branches/gcc-4_6-branch/gcc/ChangeLog branches/gcc-4_6-branch/gcc/config/avr/avr.c