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

--- Comment #65 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-12 branch has been updated by Jakub Jelinek
<ja...@gcc.gnu.org>:

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

commit r12-9153-ga5453c659bce698d80f5aebdab5ab0eba39b1ed6
Author: Andrew Pinski <apin...@marvell.com>
Date:   Thu Feb 9 16:03:54 2023 +0100

    match.pd: When simplifying BFR of an insert, require a mode precision
integral type [PR108688]

    The same problem as PR 88739 has crept in but
    this time in match.pd when simplifying bit_field_ref of
    an bit_insert. That is we are generating a BIT_FIELD_REF
    of a non-mode-precision integral type.

            PR tree-optimization/108688
            * match.pd (bit_field_ref [bit_insert]): Avoid generating
            BIT_FIELD_REFs of non-mode-precision integral operands.

            * gcc.c-torture/compile/pr108688-1.c: New test.

    (cherry picked from commit 44f308e59bfa0f93ae05b17e257d8563c12399fd)

Reply via email to