aboutsummaryrefslogtreecommitdiff
path: root/gcc/go
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2024-02-02 11:28:31 +0100
committerJakub Jelinek <jakub@redhat.com>2024-02-02 11:30:06 +0100
commitfb28d5cdae149f08f0d472c210a5143a64771410 (patch)
tree9ff0ee89f50d01724692098efaeebcd1a629cf49 /gcc/go
parent49e75666c592d23dfa17f062974e660edd01d5fb (diff)
downloadgcc-fb28d5cdae149f08f0d472c210a5143a64771410.zip
gcc-fb28d5cdae149f08f0d472c210a5143a64771410.tar.gz
gcc-fb28d5cdae149f08f0d472c210a5143a64771410.tar.bz2
lower-bitint: Handle casts from large/huge _BitInt to pointer/reference types [PR113692]
I thought one needs to cast first to pointer-sized integer before casting to pointer, but apparently that is not the case. So the following patch arranges for the large/huge _BitInt to pointer/reference conversions to use the same code as for conversions of them to small integral types. 2024-02-02 Jakub Jelinek <jakub@redhat.com> PR tree-optimization/113692 * gimple-lower-bitint.cc (bitint_large_huge::lower_stmt): Handle casts from large/huge BITINT_TYPEs to POINTER_TYPE/REFERENCE_TYPE as final_cast_p. * gcc.dg/bitint-82.c: New test.
Diffstat (limited to 'gcc/go')
0 files changed, 0 insertions, 0 deletions