[Ada] Do not create a master unless Tasking_Allowed
authorBob Duff <duff@adacore.com>
Thu, 4 Jul 2019 08:06:25 +0000 (08:06 +0000)
committerPierre-Marie de Rodat <pmderodat@gcc.gnu.org>
Thu, 4 Jul 2019 08:06:25 +0000 (08:06 +0000)
commitb27f2c40019569ba7c4d7e38edb3e2ebcd0593c6
tree4b592d30aa79eaf653a8d6e146d705b84ae20d66
parentdd4d8a71980487ddb4ac6c1ad0a1b8fb6c143592
[Ada] Do not create a master unless Tasking_Allowed

2019-07-04  Bob Duff  <duff@adacore.com>

gcc/ada/

* sem_ch3.adb (Access_Definition): Do not create a master unless
Tasking_Allowed. Otherwise, this fails on restricted runtimes.

From-SVN: r273060
gcc/ada/ChangeLog
gcc/ada/sem_ch3.adb