https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82556
--- Comment #4 from Vladimir Makarov <vmakarov at gcc dot gnu.org> --- (In reply to Richard Biener from comment #3) > Confirmed on the branch (for the unreduced testcase). GCC 7.2 works. > > Probably Jakubs pattern changes. It is an unusual pattern for LRA. I guess it should be fixed in LRA. I'll investigate the problem and try to find a fix in LRA.