http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60697
Vladimir Makarov <vmakarov at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |vmakarov at gcc dot gnu.org --- Comment #3 from Vladimir Makarov <vmakarov at gcc dot gnu.org> --- LRA changes DImode pseudo onto equiv memory and subreg of the pseudo is transformed by MEM of SImode for each address index scaling by 8 becomes wrong for AARCH64. The problem can be fixed by prohibiting such equiv substitution (more complicated approach) or by transforming the index address (less complicated). I'll try to fix it for a couple days. Thanks.