[Bug target/39633] [avr] loop bug: missing 8-bit comparison (*cmpqi)

2012-05-02 Thread gjl at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39633 Georg-Johann Lay changed: What|Removed |Added Known to work||4.5.4 Known to fail|

[Bug target/39633] [avr] loop bug: missing 8-bit comparison (*cmpqi)

2012-05-02 Thread gjl at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39633 --- Comment #15 from Georg-Johann Lay 2012-05-02 17:14:42 UTC --- Author: gjl Date: Wed May 2 17:14:32 2012 New Revision: 187056 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=187056 Log: Backport from 2011-07-11 4.6-branch r176143

[Bug target/39633] [avr] loop bug: missing 8-bit comparison (*cmpqi)

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

[Bug target/39633] [avr] loop bug: missing 8-bit comparison (*cmpqi)

2011-07-11 Thread gjl at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39633 --- Comment #13 from Georg-Johann Lay 2011-07-11 10:24:48 UTC --- Author: gjl Date: Mon Jul 11 10:24:46 2011 New Revision: 176143 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=176143 Log: PR target/39633 Backport from mainline r

[Bug target/39633] [avr] loop bug: missing 8-bit comparison (*cmpqi)

2011-07-11 Thread gjl at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39633 --- Comment #12 from Georg-Johann Lay 2011-07-11 10:13:33 UTC --- Author: gjl Date: Mon Jul 11 10:13:30 2011 New Revision: 176141 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=176141 Log: gcc/ PR target/39633 * config/avr/avr.c (

[Bug target/39633] [avr] loop bug: missing 8-bit comparison (*cmpqi)

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

[Bug target/39633] [avr] loop bug: missing 8-bit comparison (*cmpqi)

2011-07-10 Thread gjl at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39633 --- Comment #11 from Georg-Johann Lay 2011-07-10 10:15:11 UTC --- It's bug in avr.c:notice_update_cc() because for shift offset=7 cc0 is set as if it contained meaningful state: case CC_CLOBBER: /* Insn doesn't leave CC in a usable sta

[Bug target/39633] [avr] loop bug: missing 8-bit comparison (*cmpqi)

2011-07-10 Thread gjl at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39633 --- Comment #10 from Georg-Johann Lay 2011-07-10 08:29:04 UTC --- Created attachment 24729 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=24729 Minimal test case Here is a minimal testcase: char c; void func_1 (char a) { a = a >> 7;