[Bug target/39386] [avr] different computation results for O1 and O0 executables

2011-07-25 Thread gjl at gcc dot gnu.org
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=gccview=revrev=176756 Log: PR target/39386 *

[Bug target/39386] [avr] different computation results for O1 and O0 executables

2011-07-25 Thread gjl at gcc dot gnu.org
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=gccview=revrev=176757 Log: PR target/39386

[Bug target/39386] [avr] different computation results for O1 and O0 executables

2011-07-25 Thread gjl at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39386 Georg-Johann Lay gjl at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED

[Bug target/39386] [avr] different computation results for O1 and O0 executables

2011-07-23 Thread gjl at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39386 Georg-Johann Lay gjl at gcc dot gnu.org changed: What|Removed |Added CC||gjl at gcc dot

[Bug target/39386] [avr] different computation results for O1 and O0 executables

2011-07-23 Thread gjl at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39386 Georg-Johann Lay gjl at gcc dot gnu.org changed: What|Removed |Added Target Milestone|--- |4.6.2

[Bug target/39386] [avr] different computation results for O1 and O0 executables

2011-07-23 Thread gjl at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39386 --- Comment #11 from Georg-Johann Lay gjl at gcc dot gnu.org 2011-07-23 13:48:14 UTC --- Created attachment 24814 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=24814 Minimal testcase Minimal testcase that also miscompiles for newer versions

[Bug target/39386] [avr] different computation results for O1 and O0 executables

2010-08-23 Thread anitha dot boyapati at atmel dot com
--- Comment #7 from anitha dot boyapati at atmel dot com 2010-08-23 13:08 --- Created an attachment (id=21547) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21547action=view) Reduced testcase Reduced testcase to reproduce the bug. --

[Bug target/39386] [avr] different computation results for O1 and O0 executables

2010-08-23 Thread anitha dot boyapati at atmel dot com
--- Comment #8 from anitha dot boyapati at atmel dot com 2010-08-23 13:25 --- When -O2 is enabled result is 0xFF (255) which is incorrect. The code generated for the following shift operation: 13: return (left right); +00AB: C004RJMP PC+0x0005

[Bug target/39386] [avr] different computation results for O1 and O0 executables

2010-08-23 Thread wvangulik at xs4all dot nl
--- Comment #9 from wvangulik at xs4all dot nl 2010-08-23 13:36 --- I already generated a simple testcase (although different)in http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39635. The comments from Andy in the linked report might be worth reproducing here --

[Bug target/39386] [avr] different computation results for O1 and O0 executables

2009-08-10 Thread anitha dot boyapati at atmel dot com
--- Comment #6 from anitha dot boyapati at atmel dot com 2009-08-10 13:27 --- Confirmed with gcc 4.4.0. Using switch -O0 with avr-gcc 4.4.0 (-mmcu=atmega128) gave the result 0 while -O1 gave 0xFF -- anitha dot boyapati at atmel dot com changed: What|Removed

[Bug target/39386] [avr] different computation results for O1 and O0 executables

2009-08-10 Thread eric dot weddington at atmel dot com
-- eric dot weddington at atmel dot com changed: What|Removed |Added Status|WAITING |NEW Last reconfirmed|2009-03-18 17:47:31 |2009-08-10

[Bug target/39386] [avr] different computation results for O1 and O0 executables

2009-04-07 Thread eric dot weddington at atmel dot com
--- Comment #4 from eric dot weddington at atmel dot com 2009-04-07 15:18 --- *** Bug 39635 has been marked as a duplicate of this bug. *** -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39386

[Bug target/39386] [avr] different computation results for O1 and O0 executables

2009-04-07 Thread eric dot weddington at atmel dot com
--- Comment #5 from eric dot weddington at atmel dot com 2009-04-07 15:23 --- Adding additional version numbers in the known-to-fail field from comment in duplicate bug #39635. Still waiting to hear if bug is present in 4.4. -- eric dot weddington at atmel dot com changed:

[Bug target/39386] [avr] different computation results for O1 and O0 executables

2009-03-21 Thread eric dot weddington at atmel dot com
--- Comment #3 from eric dot weddington at atmel dot com 2009-03-21 16:52 --- Please try using gcc 4.4 (HEAD). Anatoly Sokolov (AVR port maintainer) has indicated to me that he does not see this bug when using HEAD/4.4. -- eric dot weddington at atmel dot com changed:

[Bug target/39386] [avr] different computation results for O1 and O0 executables

2009-03-18 Thread eric dot weddington at atmel dot com
--- Comment #2 from eric dot weddington at atmel dot com 2009-03-18 17:47 --- Confirmed with gcc 4.3.2. -- eric dot weddington at atmel dot com changed: What|Removed |Added