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

--- Comment #17 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Andreas Krebbel <kreb...@gcc.gnu.org>:

https://gcc.gnu.org/g:42189f21b22c43ac8ab46edf5f6a7b4d99bc86a5

commit r14-10087-g42189f21b22c43ac8ab46edf5f6a7b4d99bc86a5
Author: Andreas Krebbel <kreb...@linux.ibm.com>
Date:   Tue Apr 23 10:05:46 2024 +0200

    s390x: Fix vec_xl/vec_xst type aliasing [PR114676]

    The requirements of the vec_xl/vec_xst intrinsincs wrt aliasing of the
    pointer argument are not really documented.  As it turns out, users
    are likely to get it wrong.  With this patch we let the pointer
    argument alias everything in order to make it more robust for users.

    gcc/ChangeLog:

            PR target/114676
            * config/s390/s390-c.cc (s390_expand_overloaded_builtin): Use a
            MEM_REF with an addend of type ptr_type_node.

    gcc/testsuite/ChangeLog:

            PR target/114676
            * gcc.target/s390/zvector/pr114676.c: New test.

    Suggested-by: Jakub Jelinek <ja...@redhat.com>

Reply via email to