sem_ch8.adb (Analyze_Subprogram_Renaming): Special error message for renaming entry...
authorRobert Dewar <dewar@adacore.com>
Thu, 13 Dec 2007 10:30:55 +0000 (11:30 +0100)
committerArnaud Charlet <charlet@gcc.gnu.org>
Thu, 13 Dec 2007 10:30:55 +0000 (11:30 +0100)
commit294ccb21c4d993c4fd9f4220e0ee8513a1666894
tree7bdf5ce371466b8c858b1015ea3156681c6a3ba4
parentd469eabed98420f0bdd2895d47e11829e3bb76d9
sem_ch8.adb (Analyze_Subprogram_Renaming): Special error message for renaming entry as subprogram using rename-as-body if...

2007-12-06  Robert Dewar  <dewar@adacore.com>
    Ed Schonberg  <schonberg@adacore.com>

* sem_ch8.adb (Analyze_Subprogram_Renaming): Special error message for
renaming entry as subprogram using rename-as-body if subprogram spec
frozen.
(Use_One_Type): The clause is legal on an access type whose designated
type has a limited view.
(Find_Direct_Name): Use Namet.Sp.Is_Bad_Spelling_Of function
(Find_Expanded_Name): Use Namet.Sp.Is_Bad_Spelling_Of function
(Analyze_Renamed_Primitive_Operation): new procedure to determine the
operation denoted by a selected component.
(Analyze_Renamed_Entry): Resolve the prefix of the entry name, because
it can be an expression, possibly overloaded, that returns a task or
an access to one.

From-SVN: r130854
gcc/ada/sem_ch8.adb