diff options
author | Javier Miranda <miranda@adacore.com> | 2021-08-30 08:25:50 -0400 |
---|---|---|
committer | Pierre-Marie de Rodat <derodat@adacore.com> | 2021-10-04 08:45:07 +0000 |
commit | 8e1e74a162c751014b43d609207aaf75ed4dd428 (patch) | |
tree | ffae93de10aeff8b3dc00027090aa08ce8107a7c /gcc/gimplify.c | |
parent | c36774bcc38ba51fc9091d92a079e5b2d4aab759 (diff) | |
download | gcc-8e1e74a162c751014b43d609207aaf75ed4dd428.zip gcc-8e1e74a162c751014b43d609207aaf75ed4dd428.tar.gz gcc-8e1e74a162c751014b43d609207aaf75ed4dd428.tar.bz2 |
[Ada] Fix latent problem in Sem_Ch8.Build_Class_Wide_Wrapper
gcc/ada/
* sem_ch8.adb (Build_Class_Wide_Wrapper): Fix handling of
class-wide subtypes; required to handle chains of
instantiations. Adding also code to identify these wrappers and
properly resolve instantiations where the wrapper and a tagged
type primitive are visible.
* einfo.ads (Is_Class_Wide_Wrapper): Adding documentation.
* gen_il-fields.ads (Opt_Field_Enum): Adding
Is_Class_Wide_Wrapper.
* gen_il-gen-gen_entities.adb (Root_Entity_Type): Adding
semantic flag Is_Class_Wide_Wrapper.
Diffstat (limited to 'gcc/gimplify.c')
0 files changed, 0 insertions, 0 deletions