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

--- Comment #3 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Roger Sayle <sa...@gcc.gnu.org>:

https://gcc.gnu.org/g:81e1894456bc6214c0c42148ff2b1bed142a3545

commit r12-3130-g81e1894456bc6214c0c42148ff2b1bed142a3545
Author: Roger Sayle <ro...@nextmovesoftware.com>
Date:   Tue Aug 24 22:07:41 2021 +0100

    [Committed] PR middle-end/102031: Fix typo/mistake in simplify_truncation
patch.

    My apologies again.  My patch to simplify truncations of SUBREGs in
    simplify-rtx.c contained an error where I'd accidentally compared
    against a mode instead of the precision of that mode.  Grr!  It even
    survived regression testing on two platforms.  Fixed below, and
    committed as obvious, after a full "make bootstrap" and "make -k check"
    on x86_64-pc-linux-gnu with no new regressions.

    2021-08-24  Roger Sayle  <ro...@nextmovesoftware.com>

    gcc/ChangeLog
            PR middle-end/102031
            * simplify-rtx.c (simplify_truncation): When comparing precisions
            use "subreg_prec" variable, not "subreg_mode".

Reply via email to