]> gcc.gnu.org Git - gcc.git/commit
aarch64: Fix an ICE in aarch64_short_vector_p [PR95459]
authorFei Yang <felix.yang@huawei.com>
Tue, 2 Jun 2020 17:17:34 +0000 (18:17 +0100)
committerGiuliano Belinassi <giuliano.belinassi@usp.br>
Mon, 17 Aug 2020 16:09:47 +0000 (13:09 -0300)
commit91237fa78893ec7764bbf0d850c41b5c7f43f9e7
tree57536d60c3ef3e554e7f7c0bee1db397fe0d0fe8
parenta4825ab38d942656c960e4f09efd1deae8bcedb5
aarch64: Fix an ICE in aarch64_short_vector_p [PR95459]

In aarch64_short_vector_p, we are simply checking whether a type (and a mode)
is a 64/128-bit short vector or not.  This should not be affected by the value
of TARGET_SVE.  Simply leave later code to report an error if SVE is disabled.

2020-06-02  Felix Yang  <felix.yang@huawei.com>

gcc/
PR target/95459
* config/aarch64/aarch64.c (aarch64_short_vector_p):
Leave later code to report an error if SVE is disabled.

gcc/testsuite/
PR target/95459
* gcc.target/aarch64/mgeneral-regs_6.c: New test.
gcc/config/aarch64/aarch64.c
gcc/testsuite/gcc.target/aarch64/mgeneral-regs_6.c [new file with mode: 0644]
This page took 0.091621 seconds and 6 git commands to generate.