sem_ch7.adb (Check_Anonymous_Access_Types): New procedure...
authorEd Schonberg <schonberg@adacore.com>
Tue, 31 Oct 2006 18:08:12 +0000 (19:08 +0100)
committerArnaud Charlet <charlet@gcc.gnu.org>
Tue, 31 Oct 2006 18:08:12 +0000 (19:08 +0100)
commit3b75bcab982e569bef561176f3181632d542cb3f
tree2b346c909e05c205088349521c5da0ae23f9b1dc
parentec4867fab9418c5b8ab6917e6accd3a9822e96c6
sem_ch7.adb (Check_Anonymous_Access_Types): New procedure...

2006-10-31  Ed Schonberg  <schonberg@adacore.com>
    Javier Miranda  <miranda@adacore.com>

* sem_ch7.adb (Check_Anonymous_Access_Types): New procedure, subsidiary
of Analyze_Package_Body, to create Itype references for anonymous
access types created in the package declaration, whose designated types
may have only a limited view.
(Analyze_Package_Specification): For the private part of a nested
package, install private_with_clauses of enclosing compilation unit if
we are in its visible part.
(Declare_Inherited_Private_Subprograms): Complete barrier
to ensure that the primitive operation has an alias to some parent
primitive. This is now required because, after the changes done for the
implementation of abstract interfaces, the contents of the list of
primitives has entities whose alias attribute references entities of
such list of primitives.
(Analyze_Package_Specification): Simplify code that handles parent units
of instances and formal packages.
(Uninstall_Declarations): Check the convention consistency among
primitive overriding operations of a tagged record type.

From-SVN: r118305
gcc/ada/sem_ch7.adb