diff options
author | Eric Botcazou <ebotcazou@adacore.com> | 2023-05-31 14:32:59 +0200 |
---|---|---|
committer | Marc Poulhiès <poulhies@adacore.com> | 2023-06-20 09:30:49 +0200 |
commit | d39664b659f2442a456be865ee6adcfe1a4a5aed (patch) | |
tree | c6ed65d18918a04db241d09be282d11680c0ed10 /COPYING3 | |
parent | b9b1dcc841436964d344befe38ef66c5ee68913d (diff) | |
download | gcc-d39664b659f2442a456be865ee6adcfe1a4a5aed.zip gcc-d39664b659f2442a456be865ee6adcfe1a4a5aed.tar.gz gcc-d39664b659f2442a456be865ee6adcfe1a4a5aed.tar.bz2 |
ada: Fix fallout of fix to handling of private views in instances
Check_Actual_Type incorrectly switches the view of a private type declared
in the enclosing scope of a generic unit but that has a private ancestor.
gcc/ada/
* einfo.ads (Has_Private_Ancestor): Fix inaccuracy in description.
* sem_ch12.adb (Check_Actual_Type): Do not switch the view of the
type if it has a private ancestor.
Diffstat (limited to 'COPYING3')
0 files changed, 0 insertions, 0 deletions