https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77326
--- Comment #3 from Georg-Johann Lay <gjl at gcc dot gnu.org> --- Author: gjl Date: Wed Sep 21 09:31:38 2016 New Revision: 240308 URL: https://gcc.gnu.org/viewcvs?rev=240308&root=gcc&view=rev Log: Backport from 2016-09-21 trunk r240306. PR target/77326 * config/avr/avr.c (avr_notice_update_cc) [CC_NONE]: If insn touches some regs mentioned in cc_status, do CC_STATUS_INIT. Added: branches/gcc-6-branch/gcc/testsuite/gcc.target/avr/torture/pr77326.c Modified: branches/gcc-6-branch/gcc/ChangeLog branches/gcc-6-branch/gcc/config/avr/avr.c branches/gcc-6-branch/gcc/testsuite/ChangeLog