aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEd Schonberg <schonberg@adacore.com>2018-12-03 15:48:03 +0000
committerPierre-Marie de Rodat <pmderodat@gcc.gnu.org>2018-12-03 15:48:03 +0000
commit5bb88560d74b92e37afd17f8ba0895fc734acbfb (patch)
tree857c0bd3580fe26123e902dc93b159125ebacb6e
parent7beb2b9dd2cb4adfab630231badae2517c138461 (diff)
downloadgcc-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/ChangeLog4
-rw-r--r--gcc/ada/sem_ch3.adb3
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);