https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116550
--- Comment #22 from Georg-Johann Lay <gjl at gcc dot gnu.org> --- I allowed me to add some test cases. Unfortunatels, one of them is failing with the patch and -mlra, whereas is passes with -mno-lra. In $builddir/gcc: $ make -k check-gcc RUNTESTFLAGS="--target_board=atmega128-sim --tool_opts='-mlra' avr-torture.exp=lra-pr116550-2.c" [...] Running /home/john/xgnu/source/gcc-master/gcc/testsuite/gcc.target/avr/torture/avr-torture.exp ... FAIL: gcc.target/avr/torture/lra-pr116550-2.c -O1 execution test === gcc Summary === # of expected passes 21 # of unexpected failures 1