https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96831
--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> --- I guess what is clearly missing is IVOPTs rewriting the ADDRESS uses with the IV based on TARGET_MEM_REFs, thus &MEM[(int *)&a + _3 * 8]. Not sure how hard that would be (do we even query targets for 'lea' capabilities?)