]> gcc.gnu.org Git - gcc.git/commit
testsuite: [aarch64] Fix aarch64/advsimd-intrinsics/v{trn,uzp,zip}_half.c
authorChristophe Lyon <christophe.lyon@linaro.org>
Fri, 25 Sep 2020 10:40:18 +0000 (10:40 +0000)
committerJakub Jelinek <jakub@redhat.com>
Fri, 23 Apr 2021 09:43:27 +0000 (11:43 +0200)
commit4606da09feabf7b15917063ab836b2d391df76a4
tree6995d67da9af5e59c67a025cb851392e8e7d3e95
parent56c4a7ea3193ecc23a4a3d7ccbc03dba3c1f4c24
testsuite: [aarch64] Fix aarch64/advsimd-intrinsics/v{trn,uzp,zip}_half.c

Since r11-3402 (g:65c9878641cbe0ed898aa7047b7b994e9d4a5bb1), the
vtrn_half, vuzp_half and vzip_half started failing with

vtrn_half.c:76:17: error: redeclaration of 'vector_float64x2' with no linkage
vtrn_half.c:77:17: error: redeclaration of 'vector2_float64x2' with no linkage
vtrn_half.c:80:17: error: redeclaration of 'vector_res_float64x2' with no linkage

This is because r11-3402 now always declares float64x2 variables for
aarch64, leading to a duplicate declaration in these testcases.

The fix is simply to remove these now useless declarations.

These tests are skipped on arm*, so there is no impact on that target.

2020-09-25  Christophe Lyon  <christophe.lyon@linaro.org>

gcc/testsuite/
PR target/71233
* gcc.target/aarch64/advsimd-intrinsics/vtrn_half.c: Remove
declarations of vector, vector2, vector_res for float64x2 type.
* gcc.target/aarch64/advsimd-intrinsics/vuzp_half.c: Likewise.
* gcc.target/aarch64/advsimd-intrinsics/vzip_half.c: Likewise.

(cherry picked from commit 8c775bf447e190024fa08c55e38db94dd013a393)
gcc/testsuite/gcc.target/aarch64/advsimd-intrinsics/vtrn_half.c
gcc/testsuite/gcc.target/aarch64/advsimd-intrinsics/vuzp_half.c
gcc/testsuite/gcc.target/aarch64/advsimd-intrinsics/vzip_half.c
This page took 0.055844 seconds and 6 git commands to generate.