[Bug target/100270] [10/11 Backport] _Generic can't distinguish VLS SVE vectors and GNU vectors

cvs-commit at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Apr 29 08:28:12 GMT 2021


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

--- Comment #3 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-11 branch has been updated by Richard Sandiford
<rsandifo@gcc.gnu.org>:

https://gcc.gnu.org/g:dfaa29b5441689ce05e3c09012d3afe269770e94

commit r11-8322-gdfaa29b5441689ce05e3c09012d3afe269770e94
Author: Richard Sandiford <richard.sandiford@arm.com>
Date:   Thu Apr 29 09:27:51 2021 +0100

    aarch64: Handle SVE attributes in comp_type_attributes [PR100270]

    Even though "SVE type" and "SVE sizeless type" are marked as
    affecting type identity, the middle end doesn't truly believe
    it unless we also handle them in comp_type_attributes.

    gcc/
            PR target/100270
            * config/aarch64/aarch64.c (aarch64_comp_type_attributes): Handle
            SVE attributes.

    gcc/testsuite/
            PR target/100270
            * gcc.target/aarch64/sve/acle/general-c/pr100270_1.c: New test.
            * gcc.target/aarch64/sve/acle/general-c/sizeless-2.c: Change
            expected error message when subtracting pointers to different
            vector types.  Expect warnings when mixing them elsewhere.
            * gcc.target/aarch64/sve/acle/general/attributes_7.c: Remove
            XFAILs.  Tweak error messages for some cases.

    (cherry picked from commit 4cea5b8cb715e40e10174e6de405f26202fa3d6a)


More information about the Gcc-bugs mailing list