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

--- Comment #3 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Richard Biener <rgue...@gcc.gnu.org>:

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

commit r12-6551-gf45a2232bc8d6b88f52859cac502611395f3caf5
Author: Richard Biener <rguent...@suse.de>
Date:   Thu Jan 13 11:55:14 2022 +0100

    c/104002 - shufflevector variable indexing

    Variable indexing of a __builtin_shufflevector result is broken because
    we fail to properly mark the TARGET_EXPR decl as addressable.

    2022-01-13  Richard Biener  <rguent...@suse.de>

            PR c/104002
    gcc/c-family/
            * c-common.c (c_common_mark_addressable_vec): Handle TARGET_EXPR.

    gcc/testsuite/
            * c-c++-common/builtin-shufflevector-3.c: Move ...
            * c-c++-common/torture/builtin-shufflevector-3.c: ... here.

Reply via email to