https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121302

--- Comment #8 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The trunk branch has been updated by Andrew Pinski <pins...@gcc.gnu.org>:

https://gcc.gnu.org/g:ef49f8e9480129433cc803625ae8c6877cf59453

commit r16-2620-gef49f8e9480129433cc803625ae8c6877cf59453
Author: Andrew Pinski <quic_apin...@quicinc.com>
Date:   Tue Jul 29 17:02:44 2025 -0700

    simplify-rtx: Fix Distribute subregs over logic ops [PR121302]

    r16-2614-g965564eafb721f had a typo where it would assume byte==0
    rather than use the byte (offset) that was passed.

    This fixes that typo and also fixes the comment since it is not just
    about lowerpart subregs but all non-paradoxical subregs.

    Pushed as obvious after bootstrap/test on x86_64-linux-gnu.

            PR rtl-optimization/121302
    gcc/ChangeLog:

            * simplify-rtx.cc (simplify_context::simplify_subreg): Use
            byte instead of 0 when calling simplify_subreg.

    Signed-off-by: Andrew Pinski <quic_apin...@quicinc.com>

Reply via email to