https://gcc.gnu.org/g:a4a05e33a3323fa8ae00e6654fd34d4a4ef1d403
commit a4a05e33a3323fa8ae00e6654fd34d4a4ef1d403 Author: Jeff Law <[email protected]> Date: Tue Feb 10 23:19:16 2026 -0700 Disable fishy simplify-rtx code that was meant to help target with subword arith Diff: --- gcc/simplify-rtx.cc | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/gcc/simplify-rtx.cc b/gcc/simplify-rtx.cc index 1d73cdb7eaaa..bc642897431f 100644 --- a/gcc/simplify-rtx.cc +++ b/gcc/simplify-rtx.cc @@ -3939,6 +3939,7 @@ simplify_context::simplify_binary_operation_1 (rtx_code code, } } +#if 0 /* Another variant seen on some backends, particularly those with sub-word operations. */ if (GET_CODE (op0) == AND @@ -3983,9 +3984,7 @@ simplify_context::simplify_binary_operation_1 (rtx_code code, return tem; } } - - /* And its variant with the operands of the outer AND reversed. */ - +#endif tem = simplify_with_subreg_not (code, mode, op0, op1); if (tem)
