]> git.ipfire.org Git - thirdparty/gcc.git/commit
Assorted LTO fixes for Ada
authorEric Botcazou <ebotcazou@adacore.com>
Wed, 3 Feb 2021 10:11:26 +0000 (11:11 +0100)
committerEric Botcazou <ebotcazou@adacore.com>
Wed, 3 Feb 2021 10:23:35 +0000 (11:23 +0100)
commitf288c7d811400fc8960f9c1576f0488b6bfe952b
tree592391f13159d6e300595cde9b10606c53e06ed6
parent320d8676c770124a4baffab2d9e82224c74964ed
Assorted LTO fixes for Ada

This polishes a few rough edges visible in LTO mode.

gcc/ada/
* gcc-interface/decl.c (gnat_to_gnu_entity) <E_Array_Type>: Make the
two fields of the fat pointer type addressable, and do not make the
template type read-only.
<E_Record_Type>: If the type has discriminants mark it as may_alias.
* gcc-interface/utils.c (make_dummy_type): Likewise.
(build_dummy_unc_pointer_types): Likewise.
gcc/ada/gcc-interface/decl.c
gcc/ada/gcc-interface/utils.c