Re: [patch,avr] Fix PR61055: Wrong branch instruction after INC, DEC.

2014-05-09 Thread Denis Chertykov
2014-05-08 17:04 GMT+04:00 Georg-Johann Lay : > Some instructions like INC, DEC, NEG currently set cc0 to set_zn which is > not the whole story because they also set the V flag. This leads to a wrong > branch instruction in the remainder as cc0 is used. Fix is to do same as > clobber cc0. For th

[patch,avr] Fix PR61055: Wrong branch instruction after INC, DEC.

2014-05-08 Thread Georg-Johann Lay
Some instructions like INC, DEC, NEG currently set cc0 to set_zn which is not the whole story because they also set the V flag. This leads to a wrong branch instruction in the remainder as cc0 is used. Fix is to do same as clobber cc0. For the matter of clarity, I added a new cc0 alternative