freeze.adb (Freeze_Entity): Improve warnings on access types in pure units.
authorRobert Dewar <dewar@adacore.com>
Tue, 8 Apr 2008 06:51:27 +0000 (08:51 +0200)
committerArnaud Charlet <charlet@gcc.gnu.org>
Tue, 8 Apr 2008 06:51:27 +0000 (08:51 +0200)
commitc6a9797ed4c9cb5c05b9fa796ea16c0463fd790e
treeebb9bc1f791aeea2ab29b5deee33f55ee85c7425
parent9cf50493b26f417dd358003ce0718315c7a262e2
freeze.adb (Freeze_Entity): Improve warnings on access types in pure units.

2008-04-08  Robert Dewar  <dewar@adacore.com>
    Ed Schonberg  <schonberg@adacore.com>

* freeze.adb (Freeze_Entity): Improve warnings on access types in pure
units.
(Size_Known): Generic formal scalar types have known at compile
time size, so remove check.
Fix casing error in formal parameter name in call
(Freeze_Subprogram): If the subprogram is a user-defined operator,
recheck its overriding indication.

From-SVN: r134033
gcc/ada/freeze.adb