re PR target/39633 ([avr] loop bug: missing 8-bit comparison (*cmpqi))
authorGeorg-Johann Lay <avr@gjlay.de>
Mon, 11 Jul 2011 10:13:30 +0000 (10:13 +0000)
committerGeorg-Johann Lay <gjl@gcc.gnu.org>
Mon, 11 Jul 2011 10:13:30 +0000 (10:13 +0000)
commit7e4ec472eeae2c37c4c16767eca148d568773bd0
tree8cf4937b9ec598e6be79dd902b6226504cc37363
parent0e65e6311b89c91d88e7e785be06bb188fe91e8a
re PR target/39633 ([avr] loop bug: missing 8-bit comparison (*cmpqi))

gcc/
PR target/39633
* config/avr/avr.c (notice_update_cc): For ashiftrt:QI, only
offsets 1..5 set cc0 in a usable way.

testsuite/
PR target/39633
* gcc.target/avr/torture/pr39633.c: New test case.

From-SVN: r176141
gcc/ChangeLog
gcc/config/avr/avr.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/avr/torture/pr39633.c [new file with mode: 0644]