aboutsummaryrefslogtreecommitdiff
path: root/libgcc
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2021-12-09 15:54:33 +0100
committerJakub Jelinek <jakub@redhat.com>2021-12-09 15:54:33 +0100
commitbf15cd665e74791aae87e7e151a0cf0c4cb54684 (patch)
tree2c3a6235ddcc95e296b300c1ab48e2f928744f3e /libgcc
parent747380f47da0da6c11fd5262ac428bb53433ea19 (diff)
downloadgcc-bf15cd665e74791aae87e7e151a0cf0c4cb54684.zip
gcc-bf15cd665e74791aae87e7e151a0cf0c4cb54684.tar.gz
gcc-bf15cd665e74791aae87e7e151a0cf0c4cb54684.tar.bz2
pch: Fix up Darwin and HPUX pch_use_address hooks [PR71934]
In the last change, I've changed the arguments from void * to void *&, but missed the fact that these hooks will in that case update the value the caller will see in an undesirable way. 2021-12-09 Jakub Jelinek <jakub@redhat.com> PR pch/71934 * config/host-darwin.c (darwin_gt_pch_use_address): When reading manually the file into mapped area, update mapped_addr as an automatic variable rather than addr which is a reference parameter. * config/host-hpux.c (hpux_gt_pch_use_address): When reading manually the file into mapped area, update addr as an automatic variable rather than base which is a reference parameter.
Diffstat (limited to 'libgcc')
0 files changed, 0 insertions, 0 deletions