https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82112

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Tue Sep 12 15:25:15 2017
New Revision: 252028

URL: https://gcc.gnu.org/viewcvs?rev=252028&root=gcc&view=rev
Log:
        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:
    trunk/gcc/testsuite/g++.dg/ext/altivec-18.C
    trunk/gcc/testsuite/gcc.target/powerpc/pr82112.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/rs6000/rs6000-c.c
    trunk/gcc/testsuite/ChangeLog

Reply via email to