diff options
author | Justin Squirek <squirek@adacore.com> | 2020-06-05 15:41:33 -0400 |
---|---|---|
committer | Pierre-Marie de Rodat <derodat@adacore.com> | 2020-07-16 05:18:05 -0400 |
commit | 1a0d29099af1fa1f0dc8aa7c13ec71c7e014cd96 (patch) | |
tree | 92ba419d2288c42101e7bc78b5ba769734ce76b4 /gcc/gcov-iov.c | |
parent | 04292126821fad06d0f13c5faaa46447798dc5a8 (diff) | |
download | gcc-1a0d29099af1fa1f0dc8aa7c13ec71c7e014cd96.zip gcc-1a0d29099af1fa1f0dc8aa7c13ec71c7e014cd96.tar.gz gcc-1a0d29099af1fa1f0dc8aa7c13ec71c7e014cd96.tar.bz2 |
[Ada] Spurious accessibility error on allocator in generic instance
gcc/ada/
* exp_ch4.adb (Expand_N_Type_Conversion): Remove flawed test for
whether "statically deeper" accessibility rules apply to a given
target type and instead use the new routine
Statically_Deeper_Relation_Applies.
(Statically_Deeper_Relation_Applies): Created to centralize the
calculation of whether a target type within a conversion must
have static accessibility checks.
* sem_ch13.adb (Check_One_Function): Minor comment revision.
Diffstat (limited to 'gcc/gcov-iov.c')
0 files changed, 0 insertions, 0 deletions