[Ada] Spurious visibility error in predicate in generic instance
authorEd Schonberg <schonberg@adacore.com>
Thu, 10 Oct 2019 15:23:01 +0000 (15:23 +0000)
committerPierre-Marie de Rodat <pmderodat@gcc.gnu.org>
Thu, 10 Oct 2019 15:23:01 +0000 (15:23 +0000)
commitc223b7646bff69adeea080fdddc499b30179efec
tree5526949bdb912eb87e39cb6ec3de4b67ffad456a
parent92219babbb18f8ee2590fe9e1040b0cc09d16b45
[Ada] Spurious visibility error in predicate in generic instance

2019-10-10  Ed Schonberg  <schonberg@adacore.com>

gcc/ada/

* sem_cat.adb (Set_Categorization_From_Pragma): Do not modify
any visibility settings if there are no compilation_unit pragmas
following the package declaration. Add comments for future
cleanup.

From-SVN: r276812
gcc/ada/ChangeLog
gcc/ada/sem_cat.adb