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

--- Comment #6 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:483c061d699309d58a1b28ce5c00ee9b55a7365c

commit r14-8824-g483c061d699309d58a1b28ce5c00ee9b55a7365c
Author: Jakub Jelinek <ja...@redhat.com>
Date:   Tue Feb 6 12:58:55 2024 +0100

    lower-bitint: Encode address space qualifiers in VIEW_CONVERT_EXPRs
[PR113736]

    As discussed in the PR, e.g. build_fold_addr_expr needs TYPE_ADDR_SPACE
    on the outermost reference rather than just on the base, so the
    following patch makes sure to propagate the address space from
    the accessed var to the MEM_REFs and/or VIEW_CONVERT_EXPRs used to
    access those.

    2024-02-06  Jakub Jelinek  <ja...@redhat.com>

            PR tree-optimization/113736
            * gimple-lower-bitint.cc (bitint_large_huge::limb_access): Use
            var's address space for MEM_REF or VIEW_CONVERT_EXPRs.

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

Reply via email to