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

--- Comment #2 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Jakub Jelinek <ja...@gcc.gnu.org>:

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

commit r14-9291-gc27148f2f40654a638bcf429633be1c0561529d5
Author: Jakub Jelinek <ja...@redhat.com>
Date:   Mon Mar 4 11:15:07 2024 +0100

    bitint: Fix tree node sharing bug [PR114209]

    We ICE on the following testcase due to invalid tree sharing.
    The second hunk fixes that, the first one is from me looking around at
    other spots which might need end up with invalid tree sharing too.

    2024-03-04  Jakub Jelinek  <ja...@redhat.com>

            PR middle-end/114209
            * gimple-lower-bitint.cc (bitint_large_huge::limb_access): Call
            unshare_expr when creating a MEM_REF from MEM_REF.
            (bitint_large_huge::lower_stmt): Call unshare_expr.

            * gcc.dg/bitint-97.c: New test.

Reply via email to