This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/39386] [avr] different computation results for O1 and O0 executables
- From: "gjl at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 25 Jul 2011 15:46:47 +0000
- Subject: [Bug target/39386] [avr] different computation results for O1 and O0 executables
- Auto-submitted: auto-generated
- References: <bug-39386-4@http.gcc.gnu.org/bugzilla/>
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