https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118591
--- Comment #1 from Georg-Johann Lay <gjl at gcc dot gnu.org> --- Created attachment 60230 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60230&action=edit reduced C99 test case Here is a reduced test case that fails with -mlra -mmcu=attiny40 for any optimization level > 0.