On Tue, Jan 20, 2026 at 1:14 PM Roger Sayle <[email protected]> wrote: > > > This patch is my proposed fix to PR rtl-optimization/123585, an ICE caused > by some incorrect logic in a gcc_assert. > > This patch has been tested on x86_64-pc-linux-gnu with make bootstrap > and make -k check, both with and without --target_board=unix{-m32} > with no new failures. Ok for mainline?
OK. Thanks, Richard. > > 2026-01-20 Roger Sayle <[email protected]> > > 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. > > > Roger > -- >
