commit | fc130ab54fd9a254f07426f9c180c367b039d7f9 | [log] [tgz] |
---|---|---|
author | Eric Botcazou <ebotcazou@adacore.com> | Wed Feb 03 11:11:26 2021 +0100 |
committer | Eric Botcazou <ebotcazou@adacore.com> | Wed Feb 03 11:12:50 2021 +0100 |
tree | fe1aeb09dfc044ff08612650600835286de256b1 | |
parent | e3f9f80bfa9e58a90dfe75631921c78660342daf [diff] |
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.