[Bug rtl-optimization/123585] [13/14/15/16 Regression] X86 avx2: ICE at -O1 during RTL pass: combine
cvs-commit at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Jan 20 14:11:17 GMT 2026
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123585
--- Comment #6 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Roger Sayle <sayle@gcc.gnu.org>:
https://gcc.gnu.org/g:73bf30c8c9fc8a2cfe4720160c3dfbf99b4b5f58
commit r16-6923-g73bf30c8c9fc8a2cfe4720160c3dfbf99b4b5f58
Author: Roger Sayle <roger@nextmovesoftware.com>
Date: Tue Jan 20 14:07:55 2026 +0000
PR rtl-optimization/123585: ICE in vec_select simplification on x86_64.
This patch is my proposed fix to PR rtl-optimization/123585, an ICE caused
by some incorrect logic in a gcc_assert.
2026-01-20 Roger Sayle <roger@nextmovesoftware.com>
gcc/ChangeLog
PR rtl-optimization/123585
* simplify-rtx.cc (simplify_context::simplify_binary_operation_1)
<case VEC_SELECT>: Correct gcc_assert when optimizing a vec_select
of a vec_select with differing vector lengths.
gcc/testsuite/ChangeLog
PR rtl-optimization/123585
* gcc.target/i386/pr123585.c: New test case.
More information about the Gcc-bugs
mailing list