sem_res.adb (Resolve_Allocator): Warning on allocation of tasks on a subpool and...
authorHristian Kirtchev <kirtchev@adacore.com>
Tue, 20 Dec 2011 13:41:00 +0000 (13:41 +0000)
committerArnaud Charlet <charlet@gcc.gnu.org>
Tue, 20 Dec 2011 13:41:00 +0000 (14:41 +0100)
commit7b2aafc959f1ef24f111eb0d56b393bb2d315bbf
treeaec132f72b134bbe4292bee0e4444c3592293a72
parent9a417f117e8124d6c164f08c4c2c409a291b1622
sem_res.adb (Resolve_Allocator): Warning on allocation of tasks on a subpool and rewrite the allocator into a...

2011-12-20  Hristian Kirtchev  <kirtchev@adacore.com>

* sem_res.adb (Resolve_Allocator): Warning on allocation
of tasks on a subpool and rewrite the allocator into a raise
Program_Error statement.
* s-stposu.ads, s-stposu.adb: Code reformatting.
(Create_Subpool): Remove formal parameter Storage_Size.
(Default_Subpool_For_Pool): Add the default implementation of this
routine.
(Set_Pool_Of_Subpool): Rename formal parameter Pool to To. Update
all the uses of the parameter.

From-SVN: r182533
gcc/ada/ChangeLog
gcc/ada/s-stposu.adb
gcc/ada/s-stposu.ads
gcc/ada/sem_res.adb