aboutsummaryrefslogtreecommitdiff
path: root/libcpp
diff options
context:
space:
mode:
authorEd Schonberg <schonberg@adacore.com>2019-09-19 08:14:08 +0000
committerPierre-Marie de Rodat <pmderodat@gcc.gnu.org>2019-09-19 08:14:08 +0000
commit46fa6b050e81504aab992d58b693aa81dd45eeb9 (patch)
treeec318c027eeff071e8ac3c903adcdd563a59a78b /libcpp
parent231ef54b96d6022bc844107f50490ba5c96f4a50 (diff)
downloadgcc-46fa6b050e81504aab992d58b693aa81dd45eeb9.zip
gcc-46fa6b050e81504aab992d58b693aa81dd45eeb9.tar.gz
gcc-46fa6b050e81504aab992d58b693aa81dd45eeb9.tar.bz2
[Ada] Spurious visibility error in generic child unit
2019-09-19 Ed Schonberg <schonberg@adacore.com> gcc/ada/ * sem_ch7.adb (Install_Parent_Private_Declarations): If a generic child unit is instantiated within a sibling child unit, the analysis of its private part requires that the private part of the ancestor be available, as is done when the context includes an instance of the ancestor. gcc/testsuite/ * gnat.dg/generic2-child.ads, gnat.dg/generic2-io_any.adb, gnat.dg/generic2-io_any.ads, gnat.dg/generic2.ads: New testcase. From-SVN: r275949
Diffstat (limited to 'libcpp')
0 files changed, 0 insertions, 0 deletions