[Ada] Fix possible uninitialized ATCB component use
authorPhilippe Gil <gil@adacore.com>
Fri, 27 Nov 2020 10:14:15 +0000 (11:14 +0100)
committerPierre-Marie de Rodat <derodat@adacore.com>
Wed, 16 Dec 2020 13:01:02 +0000 (08:01 -0500)
commit61c91059b966798928c805746eb64b11fbeab373
treec48070fb81951bfcedc45aa3422c8e30b71022d4
parente8070c83ab40c11447ecd42f467041d65df4e807
[Ada] Fix possible uninitialized ATCB component use

gcc/ada/

* libgnarl/s-tporft.adb (Register_Foreign_Thread): Set
Global_Task_Lock_Nesting before using allocator.
gcc/ada/libgnarl/s-tporft.adb