[Ada] Broken privacy on Controlled type extensions
authorJustin Squirek <squirek@adacore.com>
Thu, 12 Dec 2019 10:03:16 +0000 (10:03 +0000)
committerPierre-Marie de Rodat <pmderodat@gcc.gnu.org>
Thu, 12 Dec 2019 10:03:16 +0000 (10:03 +0000)
commit2f0a921fadf4e8bcc2820db0da227366ecd50bf7
treedb15241aa01ccb45b31015adf51b81c4cde81b63
parent4bcf29692fd5ee57cc857157912e9ef492205075
[Ada] Broken privacy on Controlled type extensions

2019-12-12  Justin Squirek  <squirek@adacore.com>

gcc/ada/

* sem_ch4.adb (Analyze_One_Call): Add condition to check for
incorrectly resolved hidden controlled primitives.

From-SVN: r279297
gcc/ada/ChangeLog
gcc/ada/sem_ch4.adb