https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94591
--- Comment #8 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-8 branch has been updated by Alex Coplan <acop...@gcc.gnu.org>: https://gcc.gnu.org/g:b64ec9c3eea5204b90936e332704e6f57470f6e5 commit r8-10285-gb64ec9c3eea5204b90936e332704e6f57470f6e5 Author: Alex Coplan <alex.cop...@arm.com> Date: Fri May 29 14:23:02 2020 +0100 aarch64: PR target/94591: Don't generate invalid REV64 insns This fixes PR94591. The problem was the function aarch64_evpc_rev_local() matching vector permutations that were not reversals. In particular, prior to this patch, this function matched the identity permutation which led to generating bogus REV64 insns which were rejected by the assembler. gcc/ PR target/94591 * config/aarch64/aarch64.c (aarch64_evpc_rev_local): Don't match identity permutation. gcc/testsuite/ PR target/94591 * gcc.c-torture/execute/pr94591.c: New test. (cherry picked from commit 98452668d362bb9e6358f7eb5cff69f4f5ab1d45)