diff options
author | Jakub Jelinek <jakub@redhat.com> | 2024-02-06 12:58:55 +0100 |
---|---|---|
committer | Jakub Jelinek <jakub@redhat.com> | 2024-02-06 12:58:55 +0100 |
commit | 483c061d699309d58a1b28ce5c00ee9b55a7365c (patch) | |
tree | fb8314b2d2eb49b1dad5e1b523671e39f3059ad2 /gcc/tree-vect-loop.cc | |
parent | 760a1a5b5e427707357ca1fa858c4561258972df (diff) | |
download | gcc-483c061d699309d58a1b28ce5c00ee9b55a7365c.zip gcc-483c061d699309d58a1b28ce5c00ee9b55a7365c.tar.gz gcc-483c061d699309d58a1b28ce5c00ee9b55a7365c.tar.bz2 |
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 <jakub@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.
Diffstat (limited to 'gcc/tree-vect-loop.cc')
0 files changed, 0 insertions, 0 deletions