https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101016
--- Comment #1 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by SRINATH PARVATHANENI <sripa...@gcc.gnu.org>: https://gcc.gnu.org/g:b13f297f01c943aa167f7c6eb94bed40dce0d553 commit r12-1395-gb13f297f01c943aa167f7c6eb94bed40dce0d553 Author: Srinath Parvathaneni <srinath.parvathan...@arm.com> Date: Fri Jun 11 18:11:58 2021 +0100 arm: Fix polymorphic variants failing with undefined reference to `__ARM_undef` error. This patch fixes the issue mentioned in PR101016, which is mve polymorphic variants failing at linking with undefined reference to "__ARM_undef" error. gcc/ChangeLog: 2021-06-11 Srinath Parvathaneni <srinath.parvathan...@arm.com> PR target/101016 * config/arm/arm_mve.h (__arm_vld1q): Change __ARM_mve_coerce(p0, int8_t const *) to __ARM_mve_coerce1(p0, int8_t *) in the argument for the polymorphic variants matching code. (__arm_vld1q_z): Likewise. (__arm_vld2q): Likewise. (__arm_vld4q): Likewise. (__arm_vldrbq_gather_offset): Likewise. (__arm_vldrbq_gather_offset_z): Likewise. gcc/testsuite/ChangeLog: 2021-06-11 Srinath Parvathaneni <srinath.parvathan...@arm.com> PR target/101016 * gcc.target/arm/mve/intrinsics/pr101016.c: New test.