]> git.ipfire.org Git - thirdparty/gcc.git/commit
arm: [MVE intrinsics] Fix tuples field name (PR 118332)
authorChristophe Lyon <christophe.lyon@linaro.org>
Tue, 7 Jan 2025 16:59:03 +0000 (16:59 +0000)
committerChristophe Lyon <christophe.lyon@linaro.org>
Wed, 8 Jan 2025 07:15:32 +0000 (07:15 +0000)
commit42b24557bdf805d2913d3c75531fe441b1634332
tree57f0ecd75f87a033fe909daa502bd866866859a0
parent51708cbd751e3af0d147ceae4da5c74dae1519ce
arm: [MVE intrinsics] Fix tuples field name (PR 118332)

A recent commit mistakenly changed the field name for tuples from
'val' to '__val', but unlike SVE this name is mandated by ACLE.

The patch simply switches back the name to 'val'.

PR target/118332

gcc/ChangeLog:

* config/arm/arm-mve-builtins.cc (wrap_type_in_struct): Use 'val'
instead of '__val'.

gcc/testsuite/ChangeLog:

* gcc.target/arm/mve/intrinsics/pr118332.c: New test.
gcc/config/arm/arm-mve-builtins.cc
gcc/testsuite/gcc.target/arm/mve/intrinsics/pr118332.c [new file with mode: 0644]