On Thu, Jan 13, 2022 at 03:12:03PM +0100, Richard Biener wrote:
> Variable indexing of a __builtin_shufflevector result is broken because
> we fail to properly mark the TARGET_EXPR decl as addressable.
> 
> Bootstrapped and tested on x86_64-unknown-linux-gnu, OK?
> 
> Thanks,
> Richard.
> 
> 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.

LGTM.

        Jakub

Reply via email to