https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121343
--- Comment #3 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Georg-Johann Lay <[email protected]>: https://gcc.gnu.org/g:172785c36dae189fdae68900cb455fad9d9659f2 commit r17-758-g172785c36dae189fdae68900cb455fad9d9659f2 Author: Georg-Johann Lay <[email protected]> Date: Sun May 24 22:12:31 2026 +0200 AVR: ad target/121343 - Let __load_<size> insns use hard-reg constraints. Insns that generate transparent __load_<size> calls can be simplified using hard-reg constraints instead of explicit hard registers. This handles __flash loads of 3-byte and 4-byte integral, floating point and fixed-point values on devices without LPMx instruction. PR target/121343 gcc/ * config/avr/avr.md (load_<mode>_libgcc): Rewrite to use a hard-reg constraint for operand 0. (gen_load<mode>_libgcc): Remove expander. (mov<mode>): No more special handling needed for sources that satisfy avr_load_libgcc_p.
