aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/usage.adb
diff options
context:
space:
mode:
authorMarc Poulhiès <poulhies@adacore.com>2023-01-12 16:13:45 +0100
committerMarc Poulhiès <poulhies@adacore.com>2023-05-16 10:30:57 +0200
commit2ffa7a68401b0f40360f7bd3dfcecc8e34ff7c14 (patch)
tree436dcdd9043becb9696bfa7a2a2eca46507f0f68 /gcc/ada/usage.adb
parent6c0b94efaa811e7234c9ae790927d3741542935f (diff)
downloadgcc-2ffa7a68401b0f40360f7bd3dfcecc8e34ff7c14.zip
gcc-2ffa7a68401b0f40360f7bd3dfcecc8e34ff7c14.tar.gz
gcc-2ffa7a68401b0f40360f7bd3dfcecc8e34ff7c14.tar.bz2
ada: Fix Ada representation of r_debug and link_map types
Both record types need to have their components 'aliased' to match their C version. The mismatch could be observed when using LTO: warning: type of 'r_debug' does not match original declaration [-Wlto-type-mismatch] /usr/include/link.h:66:23: note: type 'struct r_debug' should match type 'struct system__traceback__symbolic__module_name__build_... ...cache_for_all_modules__r_debug_type' gcc/ada/ * libgnat/s-tsmona__linux.adb (link_map, r_debug_type): Add 'aliased' on all components.
Diffstat (limited to 'gcc/ada/usage.adb')
0 files changed, 0 insertions, 0 deletions