https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82112
--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Author: jakub Date: Fri Sep 15 11:24:49 2017 New Revision: 252804 URL: https://gcc.gnu.org/viewcvs?rev=252804&root=gcc&view=rev Log: Backported from mainline 2017-09-12 Jakub Jelinek <ja...@redhat.com> PR target/82112 * config/rs6000/rs6000-c.c (altivec_resolve_overloaded_builtin): For ALTIVEC_BUILTIN_VEC_LD if arg1 has array type call default_conversion on it early, rather than manual conversion late. For ALTIVEC_BUILTIN_VEC_ST if arg2 has array type call default_conversion instead of performing manual conversion. * gcc.target/powerpc/pr82112.c: New test. * g++.dg/ext/altivec-18.C: New test. Added: branches/gcc-7-branch/gcc/testsuite/g++.dg/ext/altivec-18.C branches/gcc-7-branch/gcc/testsuite/gcc.target/powerpc/pr82112.c Modified: branches/gcc-7-branch/gcc/ChangeLog branches/gcc-7-branch/gcc/config/rs6000/rs6000-c.c branches/gcc-7-branch/gcc/testsuite/ChangeLog