https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98973
--- Comment #12 from Jeffrey A. Law <law at gcc dot gnu.org> --- IIRC LSM is quite restricted in the types of MEM expressions it will optimize. In particular I think they have to be SYMBOL_REFs which severely limits LSM's effectiveness. I would support removing it given that it's not enabled by default anywhere and is of limited utility.