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:43:48 +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 #12 from Georg-Johann Lay <gjl at gcc dot gnu.org> 2011-07-25 15:42:00 UTC ---
Author: gjl
Date: Mon Jul 25 15:41:55 2011
New Revision: 176756
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=176756
Log:
PR target/39386
* config/avr/avr.c (out_shift_with_cnt): Use tmp_reg as
shift counter for x << x and x >> x shifts.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/avr/avr.c