diff options
author | Justin Squirek <squirek@adacore.com> | 2020-11-20 08:11:12 -0500 |
---|---|---|
committer | Pierre-Marie de Rodat <derodat@adacore.com> | 2020-12-14 10:51:54 -0500 |
commit | 7e7d99bfa23c7d84ba48b9131e2134cf4049d791 (patch) | |
tree | 792a4c3845fc21a11ed92e2cdd934ad2348adff6 /gcc/gcov.c | |
parent | 90b2d3fafb965f1f557966b5842c324d19f5c131 (diff) | |
download | gcc-7e7d99bfa23c7d84ba48b9131e2134cf4049d791.zip gcc-7e7d99bfa23c7d84ba48b9131e2134cf4049d791.tar.gz gcc-7e7d99bfa23c7d84ba48b9131e2134cf4049d791.tar.bz2 |
[Ada] Incorrect accessibility level on type in formal package
gcc/ada/
* sem_util.adb, sem_util.ads (In_Generic_Formal_Package):
Created to identify type declarations occurring within generic
formal packages.
* sem_res.adb (Resolve_Allocator): Add condition to avoid
emitting an error for allocators when the type being allocated
is class-wide and from a generic formal package.
Diffstat (limited to 'gcc/gcov.c')
0 files changed, 0 insertions, 0 deletions