diff options
author | Ed Schonberg <schonberg@adacore.com> | 2018-12-03 15:48:03 +0000 |
---|---|---|
committer | Pierre-Marie de Rodat <pmderodat@gcc.gnu.org> | 2018-12-03 15:48:03 +0000 |
commit | 5bb88560d74b92e37afd17f8ba0895fc734acbfb (patch) | |
tree | 857c0bd3580fe26123e902dc93b159125ebacb6e | |
parent | 7beb2b9dd2cb4adfab630231badae2517c138461 (diff) | |
download | gcc-5bb88560d74b92e37afd17f8ba0895fc734acbfb.zip gcc-5bb88560d74b92e37afd17f8ba0895fc734acbfb.tar.gz gcc-5bb88560d74b92e37afd17f8ba0895fc734acbfb.tar.bz2 |
[Ada] Enhance comment
2018-12-03 Ed Schonberg <schonberg@adacore.com>
gcc/ada/
* sem_ch3.adb (Complete_Private_Subtype): Enhance comment.
From-SVN: r266749
-rw-r--r-- | gcc/ada/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/ada/sem_ch3.adb | 3 |
2 files changed, 7 insertions, 0 deletions
diff --git a/gcc/ada/ChangeLog b/gcc/ada/ChangeLog index a036eb1..4a4fee4 100644 --- a/gcc/ada/ChangeLog +++ b/gcc/ada/ChangeLog @@ -1,3 +1,7 @@ +2018-12-03 Ed Schonberg <schonberg@adacore.com> + + * sem_ch3.adb (Complete_Private_Subtype): Enhance comment. + 2018-12-03 Olivier Hainque <hainque@adacore.com> * gcc-interface/lang.opt (fopenacc): New option for Ada. diff --git a/gcc/ada/sem_ch3.adb b/gcc/ada/sem_ch3.adb index f7ba4dc..25d4000 100644 --- a/gcc/ada/sem_ch3.adb +++ b/gcc/ada/sem_ch3.adb @@ -12328,6 +12328,9 @@ package body Sem_Ch3 is -- Note that the type of the full view is the same entity as the type -- of the partial view. In this fashion, the subtype has access to the -- correct view of the parent. + -- The list below included access types, but this leads to several + -- regressions. How should the base type of the full view be + -- set consistently for subtypes completed by access types? Save_Next_Entity := Next_Entity (Full); Save_Homonym := Homonym (Priv); |