sem_ch8.adb (Analyze_Subprogram_Renaming): In a generic context...
authorEd Schonberg <schonberg@adacore.com>
Tue, 15 Nov 2005 14:03:22 +0000 (15:03 +0100)
committerArnaud Charlet <charlet@gcc.gnu.org>
Tue, 15 Nov 2005 14:03:22 +0000 (15:03 +0100)
commitd4810530b804ead50e2f99757405141278667d3b
tree1da873cd985bdc98763f22cee3eb302c26c354ed
parenta59e9305af116b773cf8240a7f3c50c24f9aab9b
sem_ch8.adb (Analyze_Subprogram_Renaming): In a generic context...

2005-11-14  Ed Schonberg  <schonberg@adacore.com>

* sem_ch8.adb (Analyze_Subprogram_Renaming): In a generic context, do
not try to rewrite a renamed stream attribute, because the operations
on the type may not have been generated.
Handle properly a renaming_as_body generated for a stream operation
whose default is abstract because the object type itself is abstract.
(Find_Type): If the type is incomplete and appears as the prefix of a
'Class reference, it is tagged, and its list of primitive operations
must be initialized properly.
(Chain_Use_Clauses): When chaining the use clauses that appear in the
private declaration of a parent unit, prior to compiling the private
part of a child unit, find on the scope stack the proper parent entity
on which to link the use clause.
(Note_Redundant_Use): Emit a warning when a redundant use clause is
detected.
(Analyze_Object_Renaming): An attribute reference is not a legal object
if it is not a function call.

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