https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61411
bin.cheng <amker.cheng at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |amker.cheng at gmail dot com, | |mshawcroft at gcc dot gnu.org, | |vmakarov at gcc dot gnu.org --- Comment #1 from bin.cheng <amker.cheng at gmail dot com> --- The patch can fix the issue, but problem is why GCC/lra generated register-indexing ([reg+reg]) addressing mode for V8HImode in the first place. Since without this patch, the address expression is illegal and shouldn't be generated. I didn't look into LRA's code and am not very sure whether this patch is covering the problem. Also added Marcus and Vlad to the CC list.