[Bug target/105292] [10/11/12/13 regression] ICE in expand_expr_real_2 when compiling with -mvis2
cvs-commit at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue May 10 07:47:03 GMT 2022
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105292
--- Comment #9 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-10 branch has been updated by Eric Botcazou
<ebotcazou@gcc.gnu.org>:
https://gcc.gnu.org/g:9cd6d49d43ff7a8e47ffe5358b2e8fe072ed0e69
commit r10-10607-g9cd6d49d43ff7a8e47ffe5358b2e8fe072ed0e69
Author: Eric Botcazou <ebotcazou@adacore.com>
Date: Tue May 10 09:33:16 2022 +0200
Fix internal error with vectorization on SPARC
This is a regression present since the 10.x series, but the underlying
issue
has been there since the TARGET_VEC_PERM_CONST hook was implemented, in the
form of an ICE when expanding a constant VEC_PERM_EXPR in V4QI, while the
back-end only supports V8QI constant VEC_PERM_EXPRs.
gcc/
PR target/105292
* config/sparc/sparc.c (sparc_vectorize_vec_perm_const): Return
true only for 8-byte vector modes.
gcc/testsuite/
* gcc.target/sparc/20220510-1.c: New test.
More information about the Gcc-bugs
mailing list