https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92729
--- Comment #10 from John Paul Adrian Glaubitz <glaubitz at physik dot fu-berlin.de> --- (In reply to abebeos from comment #9) > So, if it's ok for the backers, reduce the scope of the bounty to "just get > avr into gcc11 and keep generated code as much as possible unchanged". It would be gcc11 and beyond that, not just gcc11. FWIW, I talked to multiple GCC developers and they confirmed that converting the target to MODE_CC should be possible. The main problem is apparently that the target hasn't been properly worked on for a long time. Also, be aware that there are others working on this such as: > https://gcc.gnu.org/pipermail/gcc-patches/2020-August/551504.html Good luck!