[Ada] Spurious visibility error on subunit with optimization
authorEd Schonberg <schonberg@adacore.com>
Thu, 12 Dec 2019 10:02:47 +0000 (10:02 +0000)
committerPierre-Marie de Rodat <pmderodat@gcc.gnu.org>
Thu, 12 Dec 2019 10:02:47 +0000 (10:02 +0000)
commitc9312e3079094e6255f7b5603475f7cd1cb517aa
treeb65d42762a82435cc1443a79120be170f4c4c2e0
parent4cd30bf7e5bff7a5d7c78b442d3658f4a95fc31a
[Ada] Spurious visibility error on subunit with optimization

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

gcc/ada/

* sem_ch10.adb (Analyze_Subunit): Fix spurious visibility error
on subunit with optimization.

From-SVN: r279291
gcc/ada/ChangeLog
gcc/ada/sem_ch10.adb