aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-ssa-phiopt.cc
diff options
context:
space:
mode:
authorDaniel King <dmking@adacore.com>2023-08-23 13:00:57 +0100
committerMarc Poulhiès <poulhies@adacore.com>2023-09-26 13:43:17 +0200
commit0787c56c48750156783bd5d3280579e9c68a8aa5 (patch)
treef5334e30848eae9843b71de7d75b9bbca9e12a1c /gcc/tree-ssa-phiopt.cc
parent8e8e3a00db4e24df9468dde660587d3fb8b5cfee (diff)
downloadgcc-0787c56c48750156783bd5d3280579e9c68a8aa5.zip
gcc-0787c56c48750156783bd5d3280579e9c68a8aa5.tar.gz
gcc-0787c56c48750156783bd5d3280579e9c68a8aa5.tar.bz2
ada: Fix conversions between addresses and integers
On CHERI targets the size of System.Address and Integer_Address (or similar) are not the same. The operations in System.Storage_Elements should be used to convert between integers and addresses. gcc/ada/ * libgnat/a-tags.adb (To_Tag): Use System.Storage_Elements for integer to address conversion. * libgnat/s-putima.adb (Put_Image_Pointer): Likewise.
Diffstat (limited to 'gcc/tree-ssa-phiopt.cc')
0 files changed, 0 insertions, 0 deletions